diff options
author | Filip Komar <filip@mageia.org> | 2014-03-02 19:23:38 +0000 |
---|---|---|
committer | Filip Komar <filip@mageia.org> | 2014-03-02 19:23:38 +0000 |
commit | ea3fd5fed461738c9f5d3eda76622ee936a4f280 (patch) | |
tree | 224362e9fd48533c3b1ba8a5daba0a882ffde88e /tools/README | |
parent | 29e810a98cc8aafdf27cc5b83530050b4d4a397b (diff) | |
download | www-ea3fd5fed461738c9f5d3eda76622ee936a4f280.tar www-ea3fd5fed461738c9f5d3eda76622ee936a4f280.tar.gz www-ea3fd5fed461738c9f5d3eda76622ee936a4f280.tar.bz2 www-ea3fd5fed461738c9f5d3eda76622ee936a4f280.tar.xz www-ea3fd5fed461738c9f5d3eda76622ee936a4f280.zip |
added translated_converter.py from http://gitweb.mageia.org/software/i18n/tools/tree/websites
Diffstat (limited to 'tools/README')
-rw-r--r-- | tools/README | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/README b/tools/README index 453913ddb..9b10f0a8b 100644 --- a/tools/README +++ b/tools/README @@ -1,11 +1,17 @@ REBUILDING A GETTEXT DICTIONARIES -To rebuild a gettext dictionaries you need to run rebuild_gettext_catalogs.sh script in the root of main web server: +To rebuild a gettext dictionaries and refresing the po files you need to run rebuild_gettext_catalogs.sh script in the root of main web server: It cals extract2gettext.php for every translatable resource. It picks the database for that from web_projects.dat file. +Python script translated_converter.py is used in conversion of lang files to gettext po files. +It comes from http://gitweb.mageia.org/software/i18n/tools/tree/websites where you can find it's license and some other informations. -LEGACY UTILITY -There is also useful script lookup_for_second_argument.sh used as a preparation for transition. +LEGACY UTILITIES +1. There is also useful script lookup_for_second_argument.sh used as a preparation for transition. It cals lookup_for_second_argument.php for every translatable resource. It picks the database for that from web_projects.dat file. + +2. File extract2lang.php is used for old lang l10n system. + +3. In the transition from php arrays to lang l10n system file pa2lang.php was used. |