On 02/03/2011 05:13 PM, John Dennis wrote:
On 02/03/2011 09:34 AM, Pavel Zuna wrote:
Python 2.6+ provides secure ways to encode and decode
literal types to/from strings.
I'm not sure what you mean by this, could you elaborate please?
http://docs.python.org/library/ast.html#ast.literal_eval
On 02/03/2011 09:34 AM, Pavel Zuna wrote:
Python 2.6+ provides secure ways to encode and decode
literal types to/from strings.
I'm not sure what you mean by this, could you elaborate please?
Summary:
Unless we agree on a better way; I'm going to try the pygettext patch and see
how us
I've been playing around with localizing python strings for a while and this is
what I figured out:
Currently we use xgettext to get strings to be translated from python files.
From withing python we call the gettext library wrapped in ipalib/text.py
classes to provide on request translation.