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.2.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4f67dc84b02f32b5a7582f97227938d4670b803bd3c5a2d9239f15aada94b7e |
|
MD5 | 4d086a6d1692ee658c872e62a9eecd0e |
|
BLAKE2b-256 | 75b056185ee9c4cb6ad0e9f8a66cc1bfcaeb78d68cc00a17c0b0c1f642945e33 |