HighTechTalks DotNet Forums  

Translated culture display name?

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss Translated culture display name? in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Translated culture display name? - 05-30-2006 , 09:19 PM






Hi all; I'm still trying to write an application that will allow the
user to switch between cultures at runtime. It is mostly working, but
I have one issue that I am running into a wall on, and was hoping
someone here could help.

I have a drop-down menu that gets populated dynamically with the
cultures available to the application (big thanks to Michael Kaplan for
help on that!). I want these names to be localized as the culture
changes; when I say names I don't mean the universal ones (en-US etc.),
I mean the user-friendly ones ("English (United States)"...).

So, when I choose French as the language, I want all the available
culture names to appear in French. Then when I choose German I'd like
them to be in German. And so on. I thought that
CultureInfo.DisplayName was the way to go, but this actually only seems
to be localized for the culture installed on the user's machine, not
the current UI culture. And CultureInfo.NativeName is the name if the
culture in its native langauge; not what I want either.

So I am at a loss as to where to get this info, and have found nothing
in MSDN to help. I am worried that this info is not actually installed
with .NET; perhaps only the system's native language translations are
included.

Any ideas or hints?

Thanks,

Carl


Reply With Quote
  #2  
Old   
Mihai N.
 
Posts: n/a

Default Re: Translated culture display name? - 05-31-2006 , 12:38 AM






Quote:
So, when I choose French as the language, I want all the available
culture names to appear in French. Then when I choose German I'd like
them to be in German. And so on.
As user experience, I think it is better if you can have each name in it's
own language. French => Français, German => Deutsch, Spanish => Español, etc.
If I know English and French, but a previous user left the UI set to
Japanese, it is quite tough to change it to something I know.
To see how it is, go here:
http://www.microsoft.com/downloads/d...FamilyID=0db2e
8f9-79c4-4625-a07a-0cc1b341be7c
That is the Telugu Windows XP LIP, and the second combo-box is the list of
languages. Find your way out :-)
Compare it with the UI language selection in Windows itself (where each
language keeps it's original name). Much better :-)

It is also easyer to implement :-)


--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email


Reply With Quote
  #3  
Old   
Michael \(michka\) Kaplan [MS]
 
Posts: n/a

Default Re: Translated culture display name? - 05-31-2006 , 10:42 AM



See also

http://blogs.msdn.com/michkap/archiv...05/499949.aspx

though there is support for the argument of using the native name here:

http://blogs.msdn.com/michkap/archiv...08/501449.aspx

It is much harder for fonts! Though admittedly it was fun! :-)

http://blogs.msdn.com/michkap/archiv...13/530814.aspx

:-)


--
MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

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



"Mihai N." <nmihai_year_2000 (AT) yahoo (DOT) com> wrote

Quote:
So, when I choose French as the language, I want all the available
culture names to appear in French. Then when I choose German I'd like
them to be in German. And so on.
As user experience, I think it is better if you can have each name in it's
own language. French => Français, German => Deutsch, Spanish => Español,
etc.
If I know English and French, but a previous user left the UI set to
Japanese, it is quite tough to change it to something I know.
To see how it is, go here:
http://www.microsoft.com/downloads/d...FamilyID=0db2e
8f9-79c4-4625-a07a-0cc1b341be7c
That is the Telugu Windows XP LIP, and the second combo-box is the list of
languages. Find your way out :-)
Compare it with the UI language selection in Windows itself (where each
language keeps it's original name). Much better :-)

It is also easyer to implement :-)


--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email



Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default Re: Translated culture display name? - 05-31-2006 , 02:05 PM



Excellent point regarding culture names being in their native
languages. Sometimes you get so wrapped up in a problem that it's
difficult to step back and look at it from a different angle.

Thanks!

Carl


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.