aboutsummaryrefslogtreecommitdiffstats
path: root/tools/README
blob: 9b10f0a8bedb8eb70f37d459634c4fc216190211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
REBUILDING A GETTEXT DICTIONARIES

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 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.