The CultureInfo class in Silverlight does not expose LCID property unlike its .NET counterpart. How do I get the LCID for a culture from its short name? e.g. getting 1033 as LCID by giving "en-US" as input without maintaining a Dictionary of my own?
Asked
Active
Viewed 791 times
2
-
Why do you need/wamt to do this? If it's for programmatically changing the presentation culture, remember that Silverlight always uses the culture of the client OS that it's being run on. – Ian Kemp May 02 '11 at 12:45
-
I have the culture with me in "en-us" format while I need to pass it as LCID to a web-service (the web-service is not owned by me, hence i cannot change there) – Sanrag Sood May 02 '11 at 13:19