gettext localize strings with variables

miamia peterirbizon at gmail.com
Thu Jul 28 15:33:19 CEST 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