multi language site...

A

Aussie Rules

Hi,

I have a site that Iwant to either display my text in english or french,
based on the users prefernces ?

I am new to webforms, but I know in winforms, this is pretty easy with a
resource file.

What is the best way to acheive this with webforms ?

Thanks
 
S

Steven Cheng[MSFT]

Hello Aussie,

For building multi-lingual ASP.NET web application, it is also quite
straightforward and convenient(especially in ASP.NET 2.0). Both winform and
ASP.NET utilize the same underlying .net framework
globalization/localication fundamentials.

You can use ASP.NET designer to author the resource files(resx...) for
different languages and put them in your web application. And you can use
code or aspx tempalte to make the control display Text from the resource
file(of a specified culture). Here are some web articles introducing the
ASP.NET 2.0 globalization feature:

#How to build Multi-Language Web Sites with ASP.NET 2.0
http://forums.asp.net/p/1133355/1803641.aspx#1803641

#Localization ASP.NET quickstart
http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/localizatio
n.aspx

#How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
http://www.c-sharpcorner.com/UploadFile/mosessaur/aspnetlocalization02042006
165851PM/aspnetlocalization.aspx?ArticleID=96602e53-0fb1-44ec-a67b-1c68b05eb
2e1

Also, here is a kb article mentioend some other background info and issues
that may also helps when you're dealing with multi-lingual development in
web application:

#Globalization issues in ASP and ASP.NET
http://support.microsoft.com/kb/893663/en-us

Please feel free to post here if there is anything else you wonder.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.







--------------------
 
S

Steven Cheng[MSFT]

Hi Aussie,

Have you got any progress or idea on this issue? Does the suggestion in my
last reply help some?

if there is any further questions, please feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,140
Latest member
SweetcalmCBDreview
Top