Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ezfit:5x:localization_instructions_for_developers [2013/12/13 13:50] smayr |
ezfit:5x:localization_instructions_for_developers [2013/12/16 15:18] (current) smayr [Application Localization] |
||
---|---|---|---|
Line 16: | Line 16: | ||
//new TLanguageInfo() {LanguageNative = Resources.rsLangPortuguese, | //new TLanguageInfo() {LanguageNative = Resources.rsLangPortuguese, | ||
//new TLanguageInfo() {LanguageNative = Resources.rsLangRussian, | //new TLanguageInfo() {LanguageNative = Resources.rsLangRussian, | ||
- | // new TLanguageInfo() {LanguageNative = Resources.rsLangTurkish, | + | |
//new TLanguageInfo() {LanguageNative = Resources.rsLangPolish, | //new TLanguageInfo() {LanguageNative = Resources.rsLangPolish, | ||
}; | }; | ||
</ | </ | ||
- | * [[swdev: | + | |
+ | | ||
+ | * Build ezFIT project. | ||
== Installer Localization== | == Installer Localization== | ||
=== Instructions for Developers === | === Instructions for Developers === | ||
* Open InnoSetup installer script. | * Open InnoSetup installer script. | ||
- | * Add a directive to define language: <code bash> | + | * Create file entries for all application localization files to distribute: <file bash installer-ezfit.iss> |
+ | [InstallDelete] | ||
+ | . . . | ||
+ | ; | ||
+ | ; Localization files | ||
+ | ; | ||
+ | Name: {app}\AHI.App.Localization.dll; | ||
+ | Name: {app}\es\AHI.App.Localization.resources.dll; | ||
+ | . . . | ||
+ | |||
+ | [Files] | ||
+ | . . . | ||
+ | ; | ||
+ | ; Localization files | ||
+ | ; | ||
+ | Source: {# | ||
+ | Source: {# | ||
+ | . . . | ||
+ | </ | ||
+ | * Add a directive to define language | ||
#if AppLangSupp == "< | #if AppLangSupp == "< | ||
#define < | #define < | ||
Line 33: | Line 53: | ||
#define English | #define English | ||
#endif | #endif | ||
- | </code> | + | </file> |
- | * Add Language resources under section '' | + | * Add Language resources under section '' |
[Languages] | [Languages] | ||
#ifdef English | #ifdef English | ||
Line 42: | Line 62: | ||
Name: < | Name: < | ||
#endif | #endif | ||
- | </code> | + | </file> |
- | * Add and translate resource strings under section '' | + | * Add and translate resource strings under section '' |
[CustomMessages] | [CustomMessages] | ||
#ifdef English | #ifdef English | ||
Line 55: | Line 75: | ||
... | ... | ||
#endif | #endif | ||
- | </code> | + | </file> |
+ | * Add and translate resource strings under section '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
=== Instructions for Translators === | === Instructions for Translators === |