Difference between revisions of "Translations:Translation for developers/4/en"
Jump to navigation
Jump to search
(استيراد نسخة جديدة من مصدر خارجي) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
You need to have a few things in mind: | You need to have a few things in mind: | ||
* Kiwix translation files are all in the "kiwix/chrome/locale" directory. | * Kiwix translation files are all in the "kiwix/chrome/locale" directory. | ||
* There | * There are two types of translation files to translate the User Interface (Have a look at the *.js and *.xul files in kiwix/chrome/content/main to understand how it works): | ||
** "main.dtd" which provides translations for all *.xul files | ** "main.dtd" which provides translations for all *.xul files | ||
** "main.properties" which provides translations for all *.js files. | ** "main.properties" which provides translations for all *.js files. | ||
* Translatewiki translations are imported separately in the Kiwix code repository | * Translatewiki translations are imported separately in the Kiwix code repository once a week and we always need to synchronize those files with Kiwix code in both directions (KW->TW and TW -> KW). |
Latest revision as of 20:55, 13 January 2015
You need to have a few things in mind:
- Kiwix translation files are all in the "kiwix/chrome/locale" directory.
- There are two types of translation files to translate the User Interface (Have a look at the *.js and *.xul files in kiwix/chrome/content/main to understand how it works):
- "main.dtd" which provides translations for all *.xul files
- "main.properties" which provides translations for all *.js files.
- Translatewiki translations are imported separately in the Kiwix code repository once a week and we always need to synchronize those files with Kiwix code in both directions (KW->TW and TW -> KW).