PC Review


Reply
Thread Tools Rate Thread

How to change CurrentCulture?

 
 
Serge Wautier
Guest
Posts: n/a
 
      11th Sep 2008
Env.: CF 3.5 / VS 2008

Hi All,

I need to localize the app I'm working on to a couple of languages. I
created a first satellite DLL and wanted to give it a test.
That's where I realize that Thread.CurrentCulture is not supported by the
CF. How do I programmatically specify which language should be loaded?

TIA,

Serge Wautier.

 
Reply With Quote
 
 
 
 
Simon Hart [MVP]
Guest
Posts: n/a
 
      11th Sep 2008
You can't. You have to manually change it on the device, then restart the
app. There might be (probably is a way) to programmatically change the
region settings.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com

"Serge Wautier" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Env.: CF 3.5 / VS 2008
>
> Hi All,
>
> I need to localize the app I'm working on to a couple of languages. I
> created a first satellite DLL and wanted to give it a test.
> That's where I realize that Thread.CurrentCulture is not supported by the
> CF. How do I programmatically specify which language should be loaded?
>
> TIA,
>
> Serge Wautier.


 
Reply With Quote
 
Serge Wautier
Guest
Posts: n/a
 
      12th Sep 2008
Simon,

Thanks for your reply. Even though it's bad news :-(
Does VS2008 make it possible to recompile the exe using resources for
another languages (instead of creating resource dlls)?

TIA,

Serge.

"Simon Hart [MVP]" <(E-Mail Removed)> wrote in message
news:73B80FE3-A43A-4801-91AF-(E-Mail Removed)...
> You can't. You have to manually change it on the device, then restart the
> app. There might be (probably is a way) to programmatically change the
> region settings.
> --
> Simon Hart
> Visual Developer - Device Application Development MVP
> http://www.simonrhart.com
>
> "Serge Wautier" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Env.: CF 3.5 / VS 2008
>>
>> Hi All,
>>
>> I need to localize the app I'm working on to a couple of languages. I
>> created a first satellite DLL and wanted to give it a test.
>> That's where I realize that Thread.CurrentCulture is not supported by the
>> CF. How do I programmatically specify which language should be loaded?
>>
>> TIA,
>>
>> Serge Wautier.

>


 
Reply With Quote
 
Stanislav Nikodem
Guest
Posts: n/a
 
      30th Sep 2008
set Culture property of your resources
MyApp.MyStringResources.Culture = new System.Globalization.CultureInfo(
"en" );

Stanislav Nikodem



"Serge Wautier" <(E-Mail Removed)> píse v diskusním príspevku
news:(E-Mail Removed)...
> Env.: CF 3.5 / VS 2008
>
> Hi All,
>
> I need to localize the app I'm working on to a couple of languages. I
> created a first satellite DLL and wanted to give it a test.
> That's where I realize that Thread.CurrentCulture is not supported by the
> CF. How do I programmatically specify which language should be loaded?
>
> TIA,
>
> Serge Wautier.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thread.CurrentCulture Peter Morris [Droopy eyes software] Microsoft Dot NET Compact Framework 5 17th May 2009 03:33 PM
CurrentCulture question LushaM@gmail.com Microsoft ASP .NET 4 17th Sep 2007 10:09 PM
CurrentCulture or InvariantCulture? rk Microsoft VB .NET 1 16th Apr 2007 06:27 AM
Now() Fucntion and CurrentCulture ra294 Microsoft ASP .NET 5 26th Nov 2004 08:51 AM
how to change CultureInfo.CurrentCulture in CF =?Utf-8?B?TGluYQ==?= Microsoft Dot NET Compact Framework 3 17th Mar 2004 02:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 PM.