locked
Localization Lightswitch VS2013 RRS feed

  • Question

  • Hello,

    Today i tried to localize a fresh new application following this msdn Lightswitch localization.

    How do i programaticly change the culture of my application?

    i tried:

    Application.cs

    Thread.CurrentThread.CurrentCulture = new CultureInfo("nl"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("nl");


    Thank you,

    Johan Van Wambeke

    Tuesday, December 24, 2013 3:18 PM

Answers

  • You should not programmatically change the cultures of the application. The cultures are set according to what the client machine requests. If the requested language is not supported, then the default language is used (as it is specified in the application designer by double clicking the Properties node under the LightSwitch project).

    Justin Anderson, LightSwitch Development Team

    Wednesday, December 25, 2013 8:34 AM
    Moderator