tazinst annotate README @ rev 60
make pot & msgmerge
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 12 21:08:02 2015 +0200 (2015-07-12) |
parents | 14c1b0fdb94a |
children |
rev | line source |
---|---|
domcox@0 | 1 SliTaz Installer |
domcox@0 | 2 ================================================================================ |
domcox@0 | 3 |
al@14 | 4 TazInst is the SliTaz installer written entirely in SHell script and usable from |
al@14 | 5 the cmdline without dialog or any other GUI-like interface! This installer |
domcox@0 | 6 is able to perform an installation automatically based on a simple config file |
domcox@0 | 7 with clear variables such as: INST_TYPE="iso", TGT_PARTITION="/dev/hda1". |
domcox@0 | 8 |
domcox@12 | 9 With this way, it allows developers to create a different kind of frontend: |
domcox@12 | 10 Dialog, CGI/web. Two frontends are included: slitaz-installer, a ncurses |
domcox@12 | 11 frontend, and a CGI/web frontend. |
domcox@0 | 12 |
domcox@0 | 13 |
domcox@0 | 14 i18n |
domcox@0 | 15 ---- |
al@14 | 16 TazInst has been coded from the beginning with gettext support. Please |
domcox@0 | 17 forget 'echo' and use gettext, but remember that gettext "" is equivalent |
domcox@2 | 18 to echo -n. All translations go in the po/ folder. |
domcox@12 | 19 |
domcox@12 | 20 To start a new translation please use msginit from the pot file directory. |
domcox@0 | 21 Example for French/France locale (fr_FR): |
domcox@0 | 22 |
domcox@0 | 23 $ msginit -l fr_FR -o fr.po -i tazinst.pot |
domcox@0 | 24 |
domcox@0 | 25 To update all translations from a newly updated pot file: |
domcox@0 | 26 |
domcox@0 | 27 $ make msgmerge |
domcox@0 | 28 Or: |
domcox@0 | 29 $ msgmerge -U fr.po tazinst.pot |
domcox@0 | 30 |
domcox@0 | 31 ================================================================================ |