* Roberto Novaes [2015-11-02 20:04 +0100]:
Hello to all!

Hello Roberto,

Following https://bugs.tryton.org/issue3432, how is it possible to add a
translation to the minimal chart of accounts another language? Is it
sufficient only to add the corresponding translation to minimal_chart.xml?
After that, the specific xml file (for instance, minimal_chart_pt.xml) can
be automatically generated or it is necessary to create it by hand?

Yes just add the entries for lang="pt". Then generate the localized
XML version with this command:

   xsltproc --stringparam lang pt_BE localize.xsl minimal_chart.xml > 
minimal_chart_pt_BR.xml

And add minimal_chart_pt_BR.xml to the tryton.cfg file.

The same process should be repeated to the other modules that add
something to the chart of accounts?

It should indeed.

--
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Reply via email to