Global Developer Blog LightSwitch How To: Change the Run-Time Language - Global Developer Blog - Site Home - MSDN Blogs

LightSwitch How To: Change the Run-Time Language

LightSwitch How To: Change the Run-Time Language

  • Comments 3

Microsoft Visual Studio LightSwitch 2011 was released in a limited set of languages, but the runtime is localized in more than 40 languages, namely:

Arabic, Basque, Bulgarian, Catalan, Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish, Dutch, English (United States), Estonian, Finish, French, German, Greek, Hebrew, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Malay, Norwegian, Polish, Portuguese, Portuguese (Brazilian), Romanian, Russian, Serbian (Cyrillic, Serbia and Montenegro (Former)), Serbian (Latin, Serbia and Montenegro (Former)), Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese

So for example, if you are using English VS LightSwitch 2011, you can produce applications that run in any of the above languages. You just need to set the culture of your application and your runtime is changed.

Follow these simple steps:

1)      In Solution Explorer, open the Application designer.

2)      In the Application Designer, stay on the General Properties tab.

3)      Expand the Culture drop-down list.

A list of available cultures will appear in the list.

4)      Click the culture that you want to use.

MS LightSwitch 

5)      You now need to re-build your solution to pick up the new culture resources.

a)      Goto the Build menu

b)      Select “Rebuild Solution”.

 MS LightSwitch

6)      After the Rebuild is complete for your solution, you can now run it and enjoy the runtime in the desired language.

In my example, I changed the culture to Malay.

This is a screenshot of the UI:

 MS LightSwitch

If you click on the Design Screen button, you can see more runtime items, check this screenshot:

 MS LightSwitch

I hope you enjoyed this short LightSwitch HowTo.

  • Some strong database professionals were dreaming of a power MS Access like, tool, that would take care

  • Good post.

    Do you know if there is any plan to support Persian language localization?

    if no, how can I use my own strings to localize app manually?

    thanks

  • There are no plans to support the Persian language and there is no official way to localize the app manually.

    Thanks,

    Dina

Page 1 of 1 (3 items)