Skip to main content

Nereid Cart B2C

Project description

https://travis-ci.org/openlabs/nereid-cart-b2c.png?branch=develop https://coveralls.io/repos/openlabs/nereid-cart-b2c/badge.png?branch=develop

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

History Node

4.0.0.6

History Node

4.0.0.5

History Node

4.0.0.4

History Node

4.0.0.3

History Node

4.0.0.2

History Node

4.0.0.1

History Node

3.6.2.1

History Node

3.6.2.0

History Node

3.6.1.0

History Node

3.4.4.1

History Node

3.4.4.0

History Node

3.4.3.1

History Node

3.4.3.0

History Node

3.4.2.16

History Node

3.4.2.15

History Node

3.4.2.14

History Node

3.4.2.13

History Node

3.4.2.12

History Node

3.4.2.11

History Node

3.4.2.10

History Node

3.4.2.9

History Node

3.4.2.8

History Node

3.4.2.7

History Node

3.4.2.6

History Node

3.4.2.5

History Node

3.4.2.4

History Node

3.4.2.3

History Node

3.4.2.2

History Node

3.4.2.1

History Node

3.4.2.0

History Node

3.4.1.1

History Node

3.4.1.0

History Node

3.4.0.2

History Node

3.4.0.1

History Node

3.2.0.12

History Node

3.2.0.11

History Node

3.2.0.10

History Node

3.2.0.9

History Node

3.2.0.8

History Node

3.2.0.7

History Node

3.2.0.6

History Node

3.2.0.5

History Node

3.2.0.4

History Node

3.2.0.3

This version
History Node

3.2.0.2

History Node

3.2.0.1

History Node

3.0.4.0

History Node

3.0.3.0

History Node

3.0.3.0dev1

History Node

3.0.2.0

History Node

3.0.1.1

History Node

3.0.1.0

History Node

2.8.0.1

History Node

2.6.0.2

History Node

2.6.0.1

History Node

2.4.0.2

History Node

2.4.0.1dev

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
trytond_nereid_cart_b2c-3.2.0.2.tar.gz (35.9 kB) Copy SHA256 hash SHA256 Source None Aug 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page