How to internationalize a python script? (i18n)

gialloporpora gialloporpora at gmail.com
Sun Jul 14 11:04:51 EDT 2013


Risposta al messaggio di gialloporpora :

>>gettext.translation('helloi18n', LOCALE_DIR, 'it')

Ok, I have, with a little help of my friend, found the issue. The 
language code must be passed as a list not as a string.

Sorry.
Sandro





-- 
*Thunderbird come evitare il circolo vizioso “Re: R:” negli oggetti 
delle mail * - http://bit.ly/19yMSsZ



More information about the Python-list mailing list