[Mailman-i18n] Swapping python variables in translations
Barry Warsaw
barry at list.org
Mon Dec 10 16:01:59 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Dec 10, 2007, at 1:44 AM, Alexander Shopov wrote:
> 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?
You can swap them around just like you've done!
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHXVTn2YZpQepbvXERArNUAJ45RKAMwCH0euPYjjfymTBmnBoNpwCggbfi
YjPxdImpDOyxcsoB15mEYZ0=
=GqDy
-----END PGP SIGNATURE-----
More information about the Mailman-i18n
mailing list