Nereid Cart B2C
Project description
Using Babel to translate nereid
The basic steps in translation are:
Extract translations
Create language/locales
Translate them
compile the translations
To extract translations
pybabel extract -F babel.cfg -o i18n/messages.pot .
To Translate to new language
pybabel init -i i18n/messages.pot -d i18n -l pt_BR
Now edit the translations/de/LC_MESSAGES/messages.po file as needed. Check out some gettext tutorials if you feel lost.
To compile the translations for use
pybabel compile -d i18n
What if the strings change?
pybabel update -i i18n/messages.pot -d i18n
Afterwards some strings might be marked as fuzzy (where it tried to figure out if a translation matched a changed key). If you have fuzzy entries, make sure to check them by hand and remove the fuzzy flag before compiling.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for trytond_nereid_cart_b2c-3.0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d14b156c3fdf4abe0f409dfc653cca9f6358d88e955d65bb475d74237d569e7 |
|
MD5 | 86b0833b062a69c9f11b18f6ff46806f |
|
BLAKE2b-256 | fd7fe88c1adc4e3755a72e5e1a385e1b8283780159671989b97fbcb0295b47ad |