Ticket #14669: i18nfix.patch

File i18nfix.patch, 775 bytes (added by Stephen Kelly, 7 years ago)
  • docs/topics/i18n/internationalization.txt

    9393This technique lets language-specific translations reorder the placeholder
    9494text. For example, an English translation may be ``"Today is November, 26."``,
    9595while a Spanish translation may be ``"Hoy es 26 de Noviembre."`` -- with the
    96 placeholders (the month and the day) with their positions swapped.
     96placeholders (the month and the day) positions swapped.
    9898For this reason, you should use named-string interpolation (e.g., ``%(day)s``)
    9999instead of positional interpolation (e.g., ``%s`` or ``%d``) whenever you
Back to Top