.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

For Multi-Language website which process is better in asp.net

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

 I want to build multi-language website in asp.net 2008 and asp.net 2010. So, which process is better for building application? Using either Local and Global Resource or New Folder to make separate according to language?


Application performance should be good and also easy manageable.


Please suggest me in which way I will build the application either using resource or folder. If there is any other better solution then please share.

View Complete Post

More Related Resource Links

Change Button Text in Multi Language Website


Hi i developing multi language website

using Master pages

everything fine

Page_Load i set the Text property of Button Control from Resource file

like this

Button1.Text = GetLocalResourceObject("Button1")

then in the button click event i cnage the text of the Button control

Button1.Text = GetLocalResourceObject("Button1_new")

but the text doesn't change and no error messgae

what is the problem how to solve this


How to create website with multi-langauge support in sharepoint 2010?

Hi Folks, I am tried to create the website with multiple Language support  in sharepoint 2010. i did not able to build the website . But I can create the website with different language at the time. kindly give me some valuable details thank you Regards Immanuel C  

Multi language in SSRS

hi all ,I'm a software manager that want to select a Reporting engine and develop international application , i want to know Dose SSRS support multi-languages environments(Special in Report Builder for end users) or not ? and if yes , how? thanks

question about multi user website and security



i am developing a multi-user website using Dynamic Data and wondered if someone could answer the following or provide advice:

what is the best way of protecting data so someone (who has a login to the site) cannot see records intended ONLY to be viewable by another valid user?

as far as i can see a user can simply tamper with querystring or url values (if using routing) and bring up the details of records they should not.


any help qould be gratefully appreciated. i am drawing a blank so far and the easiest option may be to back to a traditional asp.net site where i can control things simply by use of a Session variable (UserID)



How to use control file locks (ReaderWriterLock?) in a multi-process situation.


I have web apps on a web server farm that need to share serialized objects stored as files.  I need to be able to have one of the web apps write updates to these files, but it needs to wait until all of the other apps' threads are done reading it. 

ReaderWriterLock works fine within a single web app, but as soon as I access the shared files (on a SAN or any mapped network drive) I encounter IO Exceptions when readers are in the middle of a read and a write operation occurs.

Is there a way to control this across a server farm, or at the very leasy, between multiple apps on the same server?


Quick Launch navigation and Table Of Contents Web Part multi language issues


I noticed that my multi language site have some issues in translations. The translations in breadcrumb, list and libraries are all ok, except the list names in the Quick Launch navigation and the Table Of Contents Web Part, it does not translate the names of lists and libraries......

Can anybody give me some advise? Or is this a bug?


How run process on background in ASP.NET Website?



I needed to build website have gsm modem to send receive sms. I built all the things need to send receive messages etc, but cant figure out how to handle serial port that is, when postbacks occurs then how can I preserve my SMSSerialPort class object not to get initialized again and again causing me error saying 'Access denied. Serial port already in use'.

multi-language issue in mvc - soliving with routes / need a constraint !!


hi guys,

I am creating a multi language website with asp.net mvc 2.0

I tried to solve the problem with routes and I guess it will work just fine but I need some constraint inside my route;

here is my routes;

I have two routes;

                    new { controller = "Blogs", action = "Index" },
                    new { Id = @"\d+" }

                "Default", // Route name
                "{language}/{controller}/{action}/{id}", // URL with parameters
                new { controller = "Home", action = "Index", language = "tr", id = UrlParameter.Optional } // Parameter defaults

in 1st route, I do not need the language so it will pass without language. I am only excepting integer on this route as you could see on the id constraint.

what I need is that;

  • in the 2nd route, I need a constraint that specify language variable only can be en or tr. how can I write that?

thanks !

Login problem with multi website on a server.


I write 2 websites and deloy on a server, they're difference folder. A problem when I login on a website, then open 2nd site I see login cookie still keep in 2nd site. My system: Window server 2003, .Net 2.0, IIS. 

Login code:

FormsAuthentication.SetAuthCookie(dataUserName.Text, true);   


<authentication mode="Forms" >
<forms loginUrl="~/Login.aspx" timeout="2880"/>

Multi language database content


The content of the web site I am creating is expected to store data for multiple languages.  What I mean by the content is the actual data stored in the database (SQL Server 2008 R2).  For example I have a database table to store available packages and one of the columns in this table is the description which is shown on the web site.  This description should be stored in multiple languages for example (en, fr, de).  

What is the best way(s) to get this done, I can of course have the same table with multiple columns (each column representing a single language) and code the data access layer to load the proper column based on the current language, but is there an easier way?  An ideal situation is where like in ASP.NET the database automatically detects the current language and return the proper column

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Multi-threading in .NET: Introduction and suggestions

This article uses the C# type shorthands throughout - int for Int32 etc. I hope this makes it easier for C# developers to read, and won't impede any other developers too much. It also only talks about the C# ways of declaring variables to be volatile and locking monitors. Developers using other languages can find the equivalents in their own preferred environment, I'm sure.

New Language features in .NET4.0

The site explains the new features and enhancement to VB.NET and C# in .NET framework 4.0. The new enhancements are described in detail with examples and code snippets. One can easily understand the new features from this site. This is a must visit site for every .NET professional.

ASP.NET Architecture - ASP.NET Worker Process - HTTP Pipleline - Http Modules and Handlers

"ASP.NET is a powerful platform for building Web applications, that provides a tremendous amount of flexibility and power for building just about any kind of Web application. Most people are familiar only with the high level frameworks like WebForms and WebServices which sit at the very top level of the ASP.NET hierarchy. In this article I'll describe the lower level aspects of ASP.NET and explain how requests move from Web Server to the ASP.NET runtime and then through the ASP.NET Http Pipeline to process requests.

Multi File Upload Using JQuery!

Everyone knows about the file upload in .NET. But the multi file upload is some what difficult in .NET. For that purpose we can have some AJAX or JQuery!. Jquery is the latest advanced version. It will give some animated upload. You can try it for your own!!!!

How to Localize Windows Forms and Change the Language at Runtime

Localization is the process of customizing your application to a particular language, culture or locale. Visual Studio provides support for localizing Windows Forms with much ease. In this article, we will see how to localize windows forms and give the user the ability to change to his preferred language at runtime.
When you run a localized application, the appearance is determined by two culture values. The UICulture property is used to specify which resource files will be loaded for the form. The Culture property, on the other hand, determines how strings such as dates, numerals, and currency amounts are formatted.
Let us see the steps required to create a localized form. You can then expand this example and adopt the same approach for the rest of the forms in your project

Voice eXtensible Markup Language


This document specifies VoiceXML, the Voice Extensible Markup Language. VoiceXML is designed for creating audio dialogs that feature synthesized speech, digitized audio, recognition of spoken and DTMF key input, recording of spoken input, telephony, and mixed-initiative conversations. Its major goal is to bring the advantages of web-based development and content delivery to interactive voice response applications.
Status of This Document

This document is a submission to the World Wide Web Consortium from the VoiceXML Forum (see Submission Request, W3C Staff Comment). For a full list of all acknowledged Submission, please see Acknowledged Submissions to W3C.

This document is a Note made available by W3C for discussion only. This work does not imply endorsement by, or the consensus of the W3C membership, nor that W3C has, is, or will be allocating any resources to the issues addressed by the Note. This document is a work in progress and may be updated, replaced, or rendered obsolete by other documents at any time.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend