View Single Post
Old 12-13-2006   #6 (permalink)
Laurent Bugnion
Guest


 
 

Re: force locale that differs from OS current culture

Hi,

Robert Ludig wrote:
> That does not translate the common dialogs.
>
> On 12 Dez., 21:05, Laurent Bugnion <galasoft...@bluewin.ch> wrote:


>> using System.Threading;
>> using System.Globalization;
>>
>> //...
>>
>> Thread.CurrentThread.CurrentCulture = new CultureInfo( "en-US" );
>> Thread.CurrentThread.CurrentUICulture = new CultureInfo( "en-US" );


Do you have an example?

Greetings,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
My System SpecsSystem Spec