blob: f3b5489e314f4167acf01fd0d11bd115410ae3e1 [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
Solomon Peachy9be65b92021-09-14 14:28:52 -04007 perl (for language file & font stats processing)
Solomon Peachycb221f12020-04-01 21:37:27 -04008
Solomon Peachyfb9063c2020-04-01 23:29:27 -04009To set up: (assuming user/group for web server is apache/apache)
Solomon Peachycb221f12020-04-01 21:37:27 -040010
Solomon Peachyfb9063c2020-04-01 23:29:27 -040011 mkdir -p templates/compiled headers
12 chown apache:apache templates/compliled headers
13 ln -s /path/to/writeable/rockbox/git/clone/dir rockbox
Solomon Peachycb221f12020-04-01 21:37:27 -040014
Solomon Peachyfb9063c2020-04-01 23:29:27 -040015Then set up cron job (or some sort of post-commit hook) to run:
Solomon Peachye8100bd2020-04-01 23:09:32 -040016
17 php update.php
Solomon Peachy9be65b92021-09-14 14:28:52 -040018 fontstats.pl > fontcoverage.ini
Solomon Peachyfb9063c2020-04-01 23:29:27 -040019
20Note that the only files that matter for these scripts are:
21
Solomon Peachy51b11d52020-04-13 22:56:53 -040022 rockbox/tools/genlang (update.php only)
Solomon Peachy9be65b92021-09-14 14:28:52 -040023 rockbox/apps/lang/*.lang (both update.php and fontstats.pl)
Solomon Peachyfb9063c2020-04-01 23:29:27 -040024 rockbox/fonts/*.bdf (fontstats.py only)