___ _ _ _ ___ _ ___ _ _ | _ )_ _(_) |__| | | _ \___| |_ | __(_) |___ | _ \ || | | / _` | | _/ _ \ _| | _|| | / -_) |___/\_,_|_|_\__,_| |_| \___/\__| |_| |_|_\___| Internationalisation d'un projet Python ou Bash Lecture recursive des dossiers depuis l'endroit ou est active ppt.py avec" une reconnaissance des fichiers SH, PY et GLADE qui seront traites par xgettext," sed, msgcat,msgmerge et enfin msgfmt. " Par defaut, les fichiers de langues fr, en et en_GB seront crees dans le dossier" po/ si ils n'existent pas et les autres fichiers de langues seront conserves et" mis a jour." Au final seront crees les fichiers po, pot et mo correspondants a l'application" traitee." Claude Bulin xcfaudio [ at ] gmail [ dot ] com http://www.xcfa.tuxfamily.org/ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 3. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Le script Python ppt.py prend en charge l'arborescence de l'endroit ou il est active, recherche de facon recursive les fichiers *.sh, *.py et *.glade et depose les resultats dans un dossier po/ : [ *.po, *.pot, *.mo ]. Il suffira de completer les fichiers *.po pour la traduction, de relancer ppt.py -g pour produire le ou les fichiers *.mo puis de copier ces fichiers *.mo vers /usr/share/locale/XX pour obtenir un programme traduit.