Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Globalization

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
hardieca@hotmail.com - 30 Jul 2007 20:48 GMT
Hi,

I'm working on a multilingual CMS. I have a number of controls and
labels that are generated based on the number of languages the CMS
supports (ie. for the section management portion of the app, we could
have dynamically generated control labels "English Section Name",
"French Section Name", "Spanish Section Name", etc...)

However, the CMS will also be operated in different languages. The
labels are constructed using strings from resource files being
concatenated with a db lookup on the neutral 2-letter ISO language
code. The issue arises as the language names are stored in English
only, so when I flip over to French, the label that reads "English
Section Name" now reads "Nom du section en English". Not good!

Have language names been translated within .NET, and if so, does
anyone have a clue how I would access them?

Regards,

Chris
Cowboy (Gregory A. Beamer) - 30 Jul 2007 22:31 GMT
Language names are not "translated" automatically. You have to set the
resource strings. You can either use a resource file or your own resource
provider. Michele Bustamante has some great articles on globalization on
MSDN, including one with custom providers.

Signature

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************

> Hi,
>
[quoted text clipped - 17 lines]
>
> Chris

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.