slitaz-tools annotate installer/README @ rev 655

tazinst: French locale added
author Dominique Corbex <domcox@slitaz.org>
date Wed Jul 20 15:29:22 2011 +0200 (2011-07-20)
parents 9f5fa18b9721
children a339d3240495
rev   line source
pankso@592 1 SliTaz Installer
pankso@592 2 ================================================================================
pankso@592 3
pankso@592 4
domcox@655 5 The first SliTaz installer was using ncurses Dialog within a SHell script. It
domcox@655 6 was the last SliTaz home made tool that doesn't have a desktop integrated
domcox@655 7 interface, and had some crappy code since it was written at the start of the
domcox@655 8 project.
pankso@592 9
domcox@655 10 Tazinst is the new installer written entirely in SHell script and usable from
paul@593 11 the cmdline without dialog or any other gui-like interface! This new installer
domcox@655 12 is able to perform an installation automatically based on a simple config file
domcox@655 13 with clear variables such as: INST_TYPE="iso", TGT_PARTITION="/dev/hda1".
pankso@592 14
domcox@655 15 With this way, it allows developpers to create a different kind of frontend:
domcox@655 16 Dialog, GTK and CGI/web in TazPanel. The frontend just has to create a config
domcox@655 17 file and start the cmdline installer and report steps in a nice way (progess
domcox@655 18 bar or/and messages).
pankso@592 19
domcox@655 20
domcox@655 21 i18n
domcox@655 22 ----
domcox@655 23 Tazinst has been coded from the beginning with gettext support. Please
domcox@655 24 forget 'echo' and use gettext, but remember that gettext "" is equivalent
domcox@655 25 to echo -n. All scripts use the same TEXTDOMAIN and the same pot files, all
domcox@655 26 translations go in the po/ folder.
domcox@655 27
domcox@655 28 To start a new translation please use msginit from the pot file directory.
domcox@655 29 Example for French/France locale (fr_FR):
domcox@655 30
domcox@655 31 $ msginit -l fr_FR -o fr.po -i tazpanel.pot
domcox@655 32
domcox@655 33 To update all translations from a newly updated pot file:
domcox@655 34
domcox@655 35 $ make msgmerge
domcox@655 36
domcox@655 37 ================================================================================