473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 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 4631
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: prschmid | last post by:
I am currently creating a multi-language site using ASP .NET and was wondering what people think the best way to do this. Keeping a session variable of the users's choice? Cookies? Thank you in...
0
by: dc | last post by:
Product Announcement: Multi-Lingual web site using Nested Templates and Menus http://www.decloak.com/Products/Dreamweaver/NestedTemplates/ You can see the TONGUES of FIRE demo web site at...
5
by: Gustaf Liljegren | last post by:
In IE (at least from version 5), you can change your prefered language, so that for example the Windows Update page appears in another language than the system default. Here's the process: Tools...
0
by: marcus | last post by:
I am developing a web site at work that needs to be both in French and English. I have been reading up on using resource files (.resx files) in combination with setting the CultureInfo to either...
1
by: Bruno | last post by:
Hi, does anyone have an example of any good way to have multi-language forms? I'm working on a web app that needs to have the texts in english and spanish. Thanks, Bruno
0
by: mistral | last post by:
how to set right encoding for Multi-language website? Site is on php-based CMS. There is language selectors at top of each page, that user can select language. But i dont know where this...
7
by: CAH | last post by:
Hi I need to make at multilanguage language site, and for that I need to identify the users, and register there choice off language. For that i imagine using cookies, since this is the only way...
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
1
by: farid80 | last post by:
Helo : I want to make multi language site in joomla. for that i install joomla fish for translation and i also install languge packs like french, urdu. The problem is that when i change default...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.