Update README, INSTALL and MANIFEST.in
This commit is contained in:
parent
71c39be1d3
commit
059e9fc62e
|
@ -0,0 +1,29 @@
|
||||||
|
Installing trytond_nereid
|
||||||
|
=========================
|
||||||
|
|
||||||
|
Prerequisites
|
||||||
|
-------------
|
||||||
|
|
||||||
|
* Python 2.6 or later (http://www.python.org/)
|
||||||
|
* trytond_company (http://www.tryton.org/)
|
||||||
|
|
||||||
|
Installation
|
||||||
|
------------
|
||||||
|
|
||||||
|
Once you've downloaded and unpacked the trytond_nereid source release, enter
|
||||||
|
the directory where the archive was unpacked, and run:
|
||||||
|
|
||||||
|
python setup.py install
|
||||||
|
|
||||||
|
Note that you may need administrator/root privileges for this step, as
|
||||||
|
this command will by default attempt to install module to the Python
|
||||||
|
site-packages directory on your system.
|
||||||
|
|
||||||
|
For advanced options, please refer to the easy_install and/or the distutils
|
||||||
|
documentation:
|
||||||
|
|
||||||
|
http://peak.telecommunity.com/DevCenter/EasyInstall
|
||||||
|
http://docs.python.org/inst/inst.html
|
||||||
|
|
||||||
|
To use without installation, extract the archive into ``trytond/modules`` with
|
||||||
|
the directory name stock.
|
|
@ -0,0 +1,12 @@
|
||||||
|
include INSTALL
|
||||||
|
include README
|
||||||
|
include TODO
|
||||||
|
include COPYRIGHT
|
||||||
|
include CHANGELOG
|
||||||
|
include LICENSE
|
||||||
|
include tryton.cfg
|
||||||
|
include *.xml
|
||||||
|
include *.odt
|
||||||
|
include locale/*.po
|
||||||
|
include doc/*
|
||||||
|
include tests/*.rst
|
37
README.rst
37
README.rst
|
@ -1,5 +1,30 @@
|
||||||
Using Babel to translate nereid
|
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:
|
The basic steps in translation are:
|
||||||
|
|
||||||
|
@ -9,13 +34,13 @@ The basic steps in translation are:
|
||||||
* compile the translations
|
* compile the translations
|
||||||
|
|
||||||
To extract translations
|
To extract translations
|
||||||
-----------------------
|
```````````````````````
|
||||||
|
|
||||||
pybabel extract -F babel.cfg -o i18n/messages.pot .
|
pybabel extract -F babel.cfg -o i18n/messages.pot .
|
||||||
|
|
||||||
|
|
||||||
To Translate to new language
|
To Translate to new language
|
||||||
----------------------------
|
`````````````````````````````
|
||||||
|
|
||||||
pybabel init -i i18n/messages.pot -d i18n -l pt_BR
|
pybabel init -i i18n/messages.pot -d i18n -l pt_BR
|
||||||
|
|
||||||
|
@ -25,14 +50,14 @@ Check out some gettext tutorials if you feel lost.
|
||||||
|
|
||||||
|
|
||||||
To compile the translations for use
|
To compile the translations for use
|
||||||
-----------------------------------
|
```````````````````````````````````
|
||||||
|
|
||||||
|
|
||||||
pybabel compile -d i18n
|
pybabel compile -d i18n
|
||||||
|
|
||||||
|
|
||||||
What if the strings change?
|
What if the strings change?
|
||||||
----------------------------
|
```````````````````````````
|
||||||
|
|
||||||
|
|
||||||
pybabel update -i i18n/messages.pot -d i18n
|
pybabel update -i i18n/messages.pot -d i18n
|
||||||
|
|
Loading…
Reference in New Issue