Difference between revisions of "Translation for developers/fr"

Jump to navigation Jump to search
(Created page with "== Prérequis == Vous avez besoin d'un système d'exploitation GNU/Linux. Il est possible de le faire dans un autre système d'exploitation, mais il bien plus compliqué d'obt...")
(Created page with "Vous devez garder plusieurs chose en tête: *Les fichiers de traduction de Kiwix se trouvent tous dans le dossier ''kiwix/chrome/locale'' *Il y a deux types de fichiers de tra...")
Line 10: Line 10:
Vous avez besoin d'un système d'exploitation GNU/Linux. Il est possible de le faire dans un autre système d'exploitation, mais il bien plus compliqué d'obtenir un environnement fonctionnel.
Vous avez besoin d'un système d'exploitation GNU/Linux. Il est possible de le faire dans un autre système d'exploitation, mais il bien plus compliqué d'obtenir un environnement fonctionnel.


You need to have a few things in mind:
Vous devez garder plusieurs chose en tête:
* Kiwix translation files are all in the "kiwix/chrome/locale" directory.
*Les fichiers de traduction de Kiwix se trouvent tous dans le dossier ''kiwix/chrome/locale''
* 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):
*Il y a deux types de fichiers de traduction pour traduire l'interface utilisateur (Jetez un oeil aux fichiers *.js et *.xul dans kiwix/chrome/content/main pour en comprendre le fonctionnement):
** "main.dtd" which provides translations for all *.xul files
**"main.dtd" fournit les traductions pour tous les fichiers *.xul
** "main.properties" which provides translations for all *.js files.
** "main.properties" fournit les traductions pour touts les fichies *.js
* 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).
*Les traduction Translatewiki sont importées séparément dans le dépôt de code Kiwix une fois par semaine ; nous avons toujours besoin de synchroniser ces fichiers avec le code de Kiwix dans les deux direction (KW->TW et 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.'''