Skip to main content

Tryton - Web Framework

Project description

This is the base module required for Nereid to work. The module creates the models and the tryton views for the basic module to work.

https://travis-ci.org/openlabs/trytond-nereid.png?branch=feature/2.6

License

GPL3 - Read LICENSE

Installation

Read INSTALL

Using Babel to translate trytond-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

trytond_nereid-2.6.0.5.tar.gz (45.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page