luci-proto-ppp: add support for pppossh
[project/luci.git] / documentation / i18n.md
1 # General
2 Translations are saved in the folder po/. You find the reference in po/templates/<package>.pot. The actual translation files can be found at po/<lang>/<package>.po .
3
4 In order to use the commands below you need to have the _gettext'' utilities (''msgcat'', ''msgfmt'', ''msgmerge_) installed on your system.
5
6 # Rebuild po files
7 If you want to rebuild the translations after you made changes to a package this is an easy way:
8
9         
10         ./build/i18n-scan.pl applications/[package] > po/templates/[application].pot
11         ./build/i18n-update.pl po [application].po
12         
13 *Note:* Some packages share translation files, in this case you need to scan through all their folders. The first command from above should then be:
14
15         
16         ./build/i18n-scan.pl applications/[package-1] applications/[package-2] applications/[package-n] > po/templates/[application].pot
17