2006-04-26 12:28:53 +00:00
|
|
|
|
Le syst<73>me de langue fonctionne ainsi :
|
|
|
|
|
|
|
|
|
|
dans bureau/locales/ on trouve un DOSSIER par langue sous la forme
|
|
|
|
|
major_minor/
|
|
|
|
|
exemple : fr_FR en_US ...
|
|
|
|
|
dans lequel on a un sous-dossier LC_MESSAGES
|
|
|
|
|
dans lequel on a des fichiers .po en vrac (normalement 1 ou 2 fichiers .po par module d'AlternC.)
|
|
|
|
|
|
|
|
|
|
Le fichier alternc.mo est donc construit <20> partir de TOUS les fichiers .po d'une m<>me langue.
|
|
|
|
|
|
2009-09-08 05:29:38 +00:00
|
|
|
|
Pour mettre a jour les fichiers .po a partir des sources :
|
|
|
|
|
|
|
|
|
|
cd bureau/locales
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
puis allez voir les fichiers .po pour les mettre a jour (cherchez les fuzzy et les msgstr vide a remplir)
|
|
|
|
|
|
|
|
|
|
une fois les modifications effectuees, lancer svn commit pour valider vos modifications dans les sources officielles d'AlternC.
|
|
|
|
|
|
2006-04-26 12:28:53 +00:00
|
|
|
|
Howto translate AlternC in a new language
|
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
|
|
This folder contains po and pot files, who are templates that allows you
|
|
|
|
|
to translate AlternC in any language.
|
|
|
|
|
|
|
|
|
|
1. How to add a language :
|
|
|
|
|
- create a folder with your iso language code (ex: de_DE for
|
|
|
|
|
German from Germany see `dpkg-reconfigure locales` for available codes.)
|
|
|
|
|
- create a subfolder LC_MESSAGES in this folder
|
|
|
|
|
- copy .po and .pot files and rename .pot to .po
|
|
|
|
|
- Translate them ;)
|
|
|
|
|
- Send them to us so that we can add them to the next release or as a language pack.
|
|
|
|
|
|
|
|
|
|
2. How to update language files.
|
|
|
|
|
|
2006-05-13 22:09:38 +00:00
|
|
|
|
When the programm is updated, the po files in locales/ are changed to
|
|
|
|
|
reflect the new developped features.
|
2006-04-26 12:28:53 +00:00
|
|
|
|
|
2006-05-13 22:09:38 +00:00
|
|
|
|
You can just call the makefile to have the files regenerated:
|
2006-04-26 12:28:53 +00:00
|
|
|
|
|
2009-09-08 05:29:38 +00:00
|
|
|
|
cd bureau/locales
|
2006-05-13 22:09:38 +00:00
|
|
|
|
make
|
2006-04-26 12:28:53 +00:00
|
|
|
|
|
|
|
|
|
from "locales/" to update your language po files. New strings will have
|
|
|
|
|
an empty "msgstr" value, and obsoletes one will be commented out with
|
2006-05-22 09:03:51 +00:00
|
|
|
|
#~
|