Go to file
Sharoon Thomas 29c5f0fcee Release Version 2.6.0.2 2013-02-19 22:31:46 +05:00
i18n Updated pt_BR and es Translations 2012-03-29 11:16:06 -04:00
tests Remove display_name hack 2013-02-18 18:22:28 +05:00
.travis.yml Update .travis.yml script to use develop branch of nereid 2013-01-29 12:38: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 Update README, INSTALL and MANIFEST.in 2013-01-20 17:46:07 +05:00
README.rst Update README, INSTALL and MANIFEST.in 2013-01-20 17:46:07 +05:00
__init__.py Update to Active Record #647 2013-01-20 13:14:13 +05: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 to Active Record #647 2013-01-20 13:14:13 +05:00
currency.py Update to Active Record #647 2013-01-20 13:14:13 +05:00
i18n.py Corrected and Updated GPLv3 as the consistent License everywhere 2012-05-01 12:43:44 +05:00
party.py Remove display_name hack 2013-02-18 18:22:28 +05:00
party.xml Add user profile method and make display_name mandatory 2013-02-15 01:00:34 +05:00
routing.py Update to Active Record #647 2013-01-20 13:14:13 +05:00
setup.py Add user profile method and make display_name mandatory 2013-02-15 01:00:34 +05:00
static_file.py Update to Active Record #647 2013-01-20 13:14:13 +05:00
static_file.xml Tryton needs file buffer rather than base64 2012-12-27 16:09:10 +05:00
template.py Update to Active Record #647 2013-01-20 13:14:13 +05:00
tryton.cfg Release Version 2.6.0.2 2013-02-19 22:31:46 +05:00
urls.xml Add user profile method and make display_name mandatory 2013-02-15 01:00:34 +05: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.