blob: e126df18afd24b2a8397abc648483d40a20b16c9 [file] [log] [blame]
Solomon Peachyfb9063c2020-04-01 23:29:27 -04001Rockbox Translation Editor
2==========================
3
Solomon Peachycb221f12020-04-01 21:37:27 -04004Requirements:
5
Solomon Peachyfb9063c2020-04-01 23:29:27 -04006 php-Smarty >= 3.0
7 perl (for language file processing)
8 python (for font converage processing)
Solomon Peachycb221f12020-04-01 21:37:27 -04009
Solomon Peachyfb9063c2020-04-01 23:29:27 -040010To set up: (assuming user/group for web server is apache/apache)
Solomon Peachycb221f12020-04-01 21:37:27 -040011
Solomon Peachyfb9063c2020-04-01 23:29:27 -040012 mkdir -p templates/compiled headers
13 chown apache:apache templates/compliled headers
14 ln -s /path/to/writeable/rockbox/git/clone/dir rockbox
Solomon Peachycb221f12020-04-01 21:37:27 -040015
Solomon Peachyfb9063c2020-04-01 23:29:27 -040016Then set up cron job (or some sort of post-commit hook) to run:
Solomon Peachye8100bd2020-04-01 23:09:32 -040017
18 php update.php
19 fontstats.py > fontcoverage.ini
Solomon Peachyfb9063c2020-04-01 23:29:27 -040020 fontstats.py missing > missingchars.ini
21
22Note that the only files that matter for these scripts are:
23
24 rockbog/tools/genlang (update.php only)
25 rockbox/apps/lang/*.lang (both update.php and fontstats.py)
26 rockbox/fonts/*.bdf (fontstats.py only)