summaryrefslogtreecommitdiffstats
path: root/README
blob: f3b5489e314f4167acf01fd0d11bd115410ae3e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Rockbox Translation Editor
==========================

Requirements:

  php-Smarty >= 3.0
  perl   (for language file & font stats processing)

To set up:   (assuming user/group for web server is apache/apache)

 mkdir -p templates/compiled headers
 chown apache:apache templates/compliled headers
 ln -s /path/to/writeable/rockbox/git/clone/dir rockbox

Then set up cron job (or some sort of post-commit hook) to run:

 php update.php
 fontstats.pl > fontcoverage.ini

Note that the only files that matter for these scripts are:

   rockbox/tools/genlang       (update.php only)
   rockbox/apps/lang/*.lang    (both update.php and fontstats.pl)
   rockbox/fonts/*.bdf         (fontstats.py only)