gettext localize strings with variables

miamia peterirbizon at gmail.com
Thu Jul 28 09:33:19 EDT 2011


Hello,
I have
variable OUHH and
print _('This is %(OUHH)s a translatable string.' % locals())

how can I translate this ?



More information about the Python-list mailing list