as Stated in the application to establish the localization of
Localization consists of the following two tasks:
- Localization
WinForms(directly). - Localization string constants written directly into the code (messages to the user, etc.)
The first is provided by means Microsoft Visual Studio .NET.
For the second Flexberry Platform there are the following tools:
- Receiving-to set the current culture
.Net Framework (ICSSoft.STORMNET.Windows.Forms.WinApplication.SetUICultureAsRussian(), ICSSoft.STORMNET.Windows.Forms.WinApplication.SetUICulture(), ICSSoft.STORMNET.Windows.Forms.WinApplication.GetUICulture()); - The ability to create class-a localizer, where do the calls to retrieve the relevant rows, as well as connect any standard локализатор;
- Getting processed the localizer lines.
So, in order to arrange in your app localization, you must:
- Select standard
ICSSoft.STORMNET.Windows.Forms.XMLLocalizator, or create your own (to implement the interfaceICSSoft.STORMNET.Windows.Forms. ILocalizator) - To install the Assembly локализатор;
- If there is a need to establish clearly культуру;
- Replace(write) all the constants in your code in calls to ICSSoft.STORMNET.Windows.Forms.WinApplication. GetLocalString.