Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
drunken-octo-hipster/documentation/i18n.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17 lines (9 sloc)
846 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General | |
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 . | |
In order to use the commands below you need to have the _gettext'' utilities (''msgcat'', ''msgfmt'', ''msgmerge_) installed on your system. | |
# Rebuild po files | |
If you want to rebuild the translations after you made changes to a package this is an easy way: | |
./build/i18n-scan.pl applications/[package] > po/templates/[application].pot | |
./build/i18n-update.pl po [application].po | |
*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: | |
./build/i18n-scan.pl applications/[package-1] applications/[package-2] applications/[package-n] > po/templates/[application].pot | |