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)
(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 is two types of translation files to translate the User Interface (Have a look to the *.js and *.xul file in kiwix/chrome/content/main to understand how it works):
* 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 on time a week and we always need to synchronize thus files with Kiwix code in both direction (KW->TW and TW -> KW).
* 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.'''
4,922

edits

Navigation menu