Supported Cultures

Change a current culture
If you want to change a current culture in the Sample Web Application, you will need to:
  1. Just open the solution Ranet.UILibrary.Olap.Samples.sln in Visual Studio 2010/2012 (it is usually located in the folder "C:\Users\Public\Documents\Ranet.UILibrary.Olap-2.5 Samples\UILibrary.Olap\Cs\")
  2. In the method Application_Startup (file App.xaml.cs) define current culture
  3. And compiled the Projects
All work is completed, you can run the Sample Web Application.

How to use the resources of the localization in the our application
Look at an example Sample Web Application:

1. Unload Project

rui_culture_01.png

2. Edit Project Properties

rui_culture_02.png

3. Find tag <SupportedCultures> and insert:

<SupportedCultures>en-US;ru;ru-RU;pt;pt-BR;pt-PT;it;it-IT;zh-CN;de;de-DE;be;be-BY;uk;uk-UA;</SupportedCultures>

4. Save and Close

5. Reload Project

rui_culture_03.png

6. Open File App.xaml.cs and edit CurrentUICulture

rui_culture_04.png

Last edited Apr 10, 2013 at 11:31 AM by Leschenok, version 10