tazusb annotate README @ 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 c7f6657928b2
children cea85d26aed8
rev   line source
pankso@58 1 README for TazUSB - SliTaz LiveUSB utility
pankso@6 2 ===============================================================================
pankso@6 3
pankso@6 4
MikeDSmith25@31 5 SliTaz LiveUSB utility aka TazUSB. Please read the manual for more information.
pankso@6 6
pankso@6 7
pankso@58 8 Installation
pankso@58 9 ------------
pankso@58 10 To install all needed file and compile translated message, make and gettext
pankso@58 11 must be installed. Running 'make install' will install everything in /usr, but
pankso@58 12 an other path and/or destination can be sprcified via PREFIX and DESTDIR.
pankso@58 13 Example:
pankso@58 14
pankso@58 15 $ make DESTDIR=$PWD/_pkg install
pankso@58 16
pankso@58 17 Translation
pankso@58 18 -----------
pankso@58 19 To start a new translation please use msginit from the pot file directory,
pankso@58 20 example for French/France locale (fr_FR):
pankso@58 21
pankso@58 22 $ msginit -l fr_FR -o fr.po -i tazusb.pot
pankso@58 23
pankso@58 24 To update all translations from the pot file:
pankso@58 25
pankso@58 26 $ make msgmerge
pankso@58 27
pankso@58 28 To compile po files for testing purpose you can use 'make msgfmt' or compile
pankso@58 29 manualy your translation. Example for french locale, note that file must be
pankso@58 30 copied into /usr/share/locale/fr/LC_MESSAGES so gettext can found it:
pankso@58 31
pankso@58 32 $ msgfmt -o tazusb.mo fr.po
pankso@58 33
pankso@6 34 ===============================================================================
pankso@6 35 http://www.slitaz.org/