tazusb rev 58

README: add i18n howto
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 19 21:31:54 2010 +0100 (2010-02-19)
parents 688c74298d3f
children 59f5261bc541
files README
line diff
     1.1 --- a/README	Fri Feb 19 21:31:14 2010 +0100
     1.2 +++ b/README	Fri Feb 19 21:31:54 2010 +0100
     1.3 @@ -1,9 +1,35 @@
     1.4 -README for TazUSB -  SliTaz LiveUSB utility                                2008
     1.5 +README for TazUSB -  SliTaz LiveUSB utility
     1.6  ===============================================================================
     1.7  
     1.8  
     1.9  SliTaz LiveUSB utility aka TazUSB. Please read the manual for more information.
    1.10  
    1.11  
    1.12 +Installation
    1.13 +------------
    1.14 +To install all needed file and compile translated message, make and gettext
    1.15 +must be installed. Running 'make install' will install everything in /usr, but
    1.16 +an other path and/or destination can be sprcified via PREFIX and DESTDIR.
    1.17 +Example:
    1.18 +
    1.19 +	$ make DESTDIR=$PWD/_pkg install
    1.20 +
    1.21 +Translation
    1.22 +-----------	
    1.23 +To start a new translation please use msginit from the pot file directory,
    1.24 +example for French/France locale (fr_FR):
    1.25 +
    1.26 +	$ msginit -l fr_FR -o fr.po -i tazusb.pot
    1.27 +
    1.28 +To update all translations from the pot file:
    1.29 +
    1.30 +	$ make msgmerge
    1.31 +
    1.32 +To compile po files for testing purpose you can use 'make msgfmt' or compile
    1.33 +manualy your translation. Example for french locale, note that file must be 
    1.34 +copied into /usr/share/locale/fr/LC_MESSAGES so gettext can found it:
    1.35 +
    1.36 +	$ msgfmt -o tazusb.mo fr.po
    1.37 +	
    1.38  ===============================================================================
    1.39                                                           http://www.slitaz.org/