[Mailman-i18n] Swapping python variables in translations
sawickib at iem.pw.edu.pl
Mon Dec 10 16:02:28 CET 2007
> 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?
When you call variable value by mapping, order is not important. So you
can write: "Бого до %(bar)s с име %(foo)s". It's fine.
More information about the Mailman-i18n