2012/9/6 Cédric Krier <[email protected]>:
>> Are available _('str') in tryton server?
> No.

:(

Well, I need to create new method to transform string (english) to
string language user:
https://bitbucket.org/zikzakmedia/trytond-party_event/src/3b0033b36bbd/party_event.py#cl-44

And example to call:
https://bitbucket.org/zikzakmedia/trytond-party_event/src/3b0033b36bbd/party_event.py#cl-71

Same as Tryton client or another python frameworks (1), also it's good
idea use _('string'). Not all is error message:
https://bitbucket.org/zikzakmedia/trytond-party_event/src/3b0033b36bbd/party_event.py#cl-27

(1) 
https://docs.djangoproject.com/en/dev/topics/i18n/translation/#internationalization-in-python-code

Thanks

-- 
Si us plau, NO adjunti arxius a les seves respostes. Li preguem que
integri el text al cos del missatge. Pot respondre usant NetEtiquete
que li ajudarà a seguir la conversa.
http://es.wikipedia.org/wiki/Netiquette

Por favor, NO adjunte archivos a sus respuestas. Le rogamos que
integre el texto en el cuerpo del mensaje. Puede responder usando
NetEtiquete que le ayudará a seguir la
conversación.http://es.wikipedia.org/wiki/Netiquette

Please, DO NOT send attachment files with your answers, just copy and
paste only the text you need to send into the body of your mails.
Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette

Raimon Esteve
// Tryton - OpenERP :: Technical and consultor ERP
// OpenERP e-sale / Magento OpenERP
// AulaERP, formació online www.aulaerp.com
www.zikzakmedia.com

-- 
[email protected] mailing list

Reply via email to