Difference between revisions of "Translation for developers/en"
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 12: | Line 12: | ||
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). | ||
'''WARNING: Before any modification of Kiwix source code, update your local code repositories with "git pull origin master" in each one of them.''' | '''WARNING: Before any modification of Kiwix source code, update your local code repositories with "git pull origin master" in each one of them.''' |