- b2evolution CMS User Manual
- Advanced Topics
- Translations (i18n/l10n)
- Command Line Tools for localization
Command Line Tools for localization
GNU Gettext
This will allow you to use the xgettext
tool to extracts strings from PHP files. New versions of b2evolution will be able to do this by introspection but just in case you need it in the meantime…
If you’re on OS X, you can install gettext through Fink: http://www.finkproject.org/
Once Fink is install (heavy beast), type fink install gettext-tools
Transifex tx tool
This will allow you to push and pull files from Transfix quickly.
Install instructions are here: http://docs.transifex.com/developer/client/setup
This will require pip
. If you’re on OS X, the fastest way to install pip is to type: sudo easy_install pip
Note you will need to create a .transifexrc
file in your computer home directory containing your credentials: http://docs.transifex.com/developer/client/setup#transifexrc