472,110 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

multi language site...

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
Oct 5 '07 #1
2 4508
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/QuickStar...on/localizatio
n.aspx

#How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
http://www.c-sharpcorner.com/UploadF...zation02042006
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/subscripti...ult.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/subscripti...t/default.aspx.

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



--------------------
>From: "Aussie Rules" <Au*********@nospam.nospam>
Subject: multi language site...
Date: Fri, 5 Oct 2007 01:10:16 +0100
>
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
Oct 5 '07 #2
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.

--------------------
>Date: Fri, 05 Oct 2007 04:23:56 GMT
Subject: RE: multi language site...
>
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/QuickStar...ion/localizati
o
>n.aspx

#How to build Multi-Language Web Sites with ASP.NET 2.0 and VS.Net 2005
http://www.c-sharpcorner.com/UploadF...ization0204200
6
>165851PM/aspnetlocalization.aspx?ArticleID=96602e53-0fb1-44ec-a67b-1c68b05e
b
>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/subscripti...ault.aspx#noti
f
>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/subscripti...t/default.aspx.

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



--------------------
>>From: "Aussie Rules" <Au*********@nospam.nospam>
Subject: multi language site...
Date: Fri, 5 Oct 2007 01:10:16 +0100
>>
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

Oct 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by prschmid | last post: by
5 posts views Thread by Gustaf Liljegren | last post: by
reply views Thread by marcus | last post: by
1 post views Thread by Bruno | last post: by
reply views Thread by mistral | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.