[Mailman-i18n] Swapping python variables in translations

Alexander Shopov ash at contact.bg
Mon Dec 10 07:44:55 CET 2007

Hi everybody,
How do you swap Python variables in translation?
For example - if I have the following string

           "Name of %(foo)s to up %(bar)s"

and I want in Bulgarian to make it

           "Бого до %(bar)s с име %(foo)s"

Do I have to insert additional numbers like:
%1$d, %2$s as usual, or the long name of the variable suffices and I can 
swap them around?

Kind regards:

More information about the Mailman-i18n mailing list