Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 multi-lang support

Author  Topic 

jhermiz

3564 Posts

Posted - 2004-10-09 : 11:56:37
The tool I am working on is to be used across europe and mexico as well. Management wants to make this web-enabled asp.net / vb.net page available in various languages. Meaning if a label said:
Enter Login Name

taht same label could be in french / spanish / german / etc...
Just by allowing the user to select what language they were looking for.

What is the easiest or best method to approach this? I have done this in the past with a VB application using the XML object but I had to translate each form...etc..

How does the web accomplish multi lang support.

Thanks,
Jon

MichaelP
Jedi Yak

2489 Posts

Posted - 2004-10-11 : 00:26:58
Bablefish?

Honestly, I've never had to do it so I don't have an answer for you on this one. I think there is one chapter in the book I have about it, and that's about it.

Michael

<Yoda>Use the Search page you must. Find the answer you will.</Yoda>
Go to Top of Page

jhermiz

3564 Posts

Posted - 2004-10-11 : 07:37:11
Heh I would of thought someone else would have had to have multi-language support on their web pages.
I guess me look around some more...thanks!

jon
Go to Top of Page

chadmat
The Chadinator

1974 Posts

Posted - 2004-10-11 : 15:41:44
Use the ResourceManager, and string resource files.

Then you set teh text of the label to RM.GetString("myLabel");

The Resource file will have myLabel set to the appropriate language.

Maybe this will help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/DIforWC-CH07.asp

-Chad

http://www.clrsoft.com

Software built for the Common Language Runtime.
Go to Top of Page
   

- Advertisement -