On Sat, 2006-04-08 at 00:45 +0200, "Martin v. Löwis" wrote:

> *Never* try to do i18n that way. Don't combine fragments through
> concatenation. Instead, always use placeholders.

Martin is of course absolutely right!

> If you have many fragments, the translator gets the challenge of
> translating "dollars". Now, this might need to be translated differently
> in different contexts (and perhaps even depending on the value of
> balance); the translator must always get the complete message
> as a single piece.

Plus, if you have multiple placeholders, the order may change in some
translations.

-Barry

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to