Go to file
resteve 7b163b34e4 Remove email and phone from address 2013-11-19 17:11:30 +01:00
i18n i18n. es_ES 2013-07-04 11:48:18 +02:00
locale Locale. ca_ES 2013-07-04 11:46:01 +02:00
templates Add test templates and use DictLoader in tests 2013-06-25 14:29:50 +05:00
tests Update nereid to use the locale instead of lang #65 2013-11-19 15:44:04 +01:00
view Update nereid to use the locale instead of lang #65 2013-11-19 15:44:04 +01:00
.travis.yml Update travis.yml about nereid installation 2013-06-26 19:05:27 +05:00
COPYRIGHT Update to Active Record #647 2013-01-20 13:14:13 +05:00
INSTALL Update README, INSTALL and MANIFEST.in 2013-01-20 17:46:07 +05:00
LICENSE Update to Active Record #647 2013-01-20 13:14:13 +05:00
MANIFEST.in Use separate XML files for views 2013-10-23 18:37:19 +02:00
README.rst Update README, INSTALL and MANIFEST.in 2013-01-20 17:46:07 +05:00
__init__.py Update nereid to use the locale instead of lang #65 2013-11-19 15:44:04 +01:00
babel.cfg Further refine the translation process and add pt_BR as a language 2012-02-10 15:39:17 -05:00
configuration.xml Update nereid to use the locale instead of lang #65 2013-11-19 15:44:04 +01:00
currency.py Update nereid to use the locale instead of lang #65 2013-11-19 15:44:04 +01:00
i18n.py Flake8ify #2231 2013-09-30 15:44:06 +02:00
party.py Remove email and phone from address 2013-11-19 17:11:30 +01:00
party.xml Remove phone and email fields in party address 2013-10-23 18:41:58 +02:00
routing.py Update nereid to use the locale instead of lang #65 2013-11-19 15:44:04 +01:00
setup.py Use separate XML files for views 2013-10-23 18:37:19 +02:00
static_file.py Flake8ify #2231 2013-09-30 15:44:06 +02:00
static_file.xml Use separate XML files for views 2013-10-23 18:37:19 +02:00
template.py Flake8ify #2231 2013-09-30 15:44:06 +02:00
tryton.cfg Remove email and phone from address 2013-11-19 17:11:30 +01:00
urls.xml Update nereid to use the locale instead of lang #65 2013-11-19 15:44:04 +01:00

README.rst

trytond-nereid
==============

This is the base module required for `Nereid <http://nereid.openlabs.co.in>`_
to work. The module creates the models and the `tryton <http://trytond.org>`_
views for the basic module to work.

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

Copyright
---------

Read COPYRIGHT

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.