aboutsummaryrefslogtreecommitdiffstats
path: root/translating.md
blob: a4b052730987ef520c710a05bad1ef2d46c8c9b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Translating
-----------
The translation code here currently relies on you having the main
FixMyStreet codebase checked out in the same directory as the
FixMyStreet mobile code.

Quickstart
----------
./bin/gettext-extract
./bin/gettext-merge
../fixmystreet/commonlib/bin/gettext-makemo FixMyStreetMobileApp
perl -I../fixmystreet/commonlib/perllib -I../fixmystreet/local  bin/localise_templates

copy compiled/$lang/*.html to www/$lang/templates
copy compiled/lang/*.js to www/js

The list of languages to generate templates for should be included in
locale/lang_list and should look like locale/lang_list.example