|
|||
|
Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Runtime Language Change in .NET Compact Framework
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Runtime Language Change in .NET Compact Framework - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
mac500 Member
|
Hi, can you give me an example how to change the Language during Runtime in a .Net Compact Framework application please. The .Net examples do not compile with the compact framework because of it's limitations. Thanks Olaf Kehm
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Unfortunately the runtime language change does not work on Compact Framework. It does not contain UI Culture or not even Culture in Thread class. Thread.CurrentThread.CurrentUICulture Jaakko Last edited on Thu Aug 30th, 2007 01:58 am by Jaakko.Salmenius ____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
mac500 Member
|
So, what is the alternative ? Change the OS Locale and restart the application ?
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Yes
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jaakko.Salmenius Administrator
|
Sorry. This might not be enough. If compact framework select the initial language like the normal framework it will select the language matching the language of the user interface of OS itself. Changing OS locale won't change the language of the OS and your application still starts at the same language as the OS itself. This is a annoying feature of .NET framework. The initial language should be the OS locale not the OS language. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
mac500 Member
|
OK, Thanks
|
|||||||||||||
| ||||||||||||||
| Current time is 11:27 pm | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Runtime Language Change in .NET Compact Framework | |
Sisulizer software localization tool - Three simple steps to localize