# HG changeset patch # User Christophe Lincoln # Date 1266611514 -3600 # Node ID 2e5ac32b52eeb2a8b2696b488793cad16faab76b # Parent 688c74298d3fab54f9b271795246e926924e6aa3 README: add i18n howto diff -r 688c74298d3f -r 2e5ac32b52ee README --- a/README Fri Feb 19 21:31:14 2010 +0100 +++ b/README Fri Feb 19 21:31:54 2010 +0100 @@ -1,9 +1,35 @@ -README for TazUSB - SliTaz LiveUSB utility 2008 +README for TazUSB - SliTaz LiveUSB utility =============================================================================== SliTaz LiveUSB utility aka TazUSB. Please read the manual for more information. +Installation +------------ +To install all needed file and compile translated message, make and gettext +must be installed. Running 'make install' will install everything in /usr, but +an other path and/or destination can be sprcified via PREFIX and DESTDIR. +Example: + + $ make DESTDIR=$PWD/_pkg install + +Translation +----------- +To start a new translation please use msginit from the pot file directory, +example for French/France locale (fr_FR): + + $ msginit -l fr_FR -o fr.po -i tazusb.pot + +To update all translations from the pot file: + + $ make msgmerge + +To compile po files for testing purpose you can use 'make msgfmt' or compile +manualy your translation. Example for french locale, note that file must be +copied into /usr/share/locale/fr/LC_MESSAGES so gettext can found it: + + $ msgfmt -o tazusb.mo fr.po + =============================================================================== http://www.slitaz.org/