Ticket #14669: i18nfix.patch
File i18nfix.patch, 775 bytes (added by , 14 years ago) |
---|
-
docs/topics/i18n/internationalization.txt
93 93 This technique lets language-specific translations reorder the placeholder 94 94 text. For example, an English translation may be ``"Today is November, 26."``, 95 95 while a Spanish translation may be ``"Hoy es 26 de Noviembre."`` -- with the 96 placeholders (the month and the day) with theirpositions swapped.96 placeholders (the month and the day) positions swapped. 97 97 98 98 For this reason, you should use named-string interpolation (e.g., ``%(day)s``) 99 99 instead of positional interpolation (e.g., ``%s`` or ``%d``) whenever you