Changes between Initial Version and Version 1 of Ticket #11240


Ignore:
Timestamp:
Jun 20, 2009, 5:38:56 PM (15 years ago)
Author:
Ramiro Morales
Comment:

(formatted description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11240 – Description

    initial v1  
    11Reproduce:
    22Create a template:
     3{{{
    34{% load i18n %}
    45{% trans "findme 10% " %}
     6}}}
    57
    6 run ./manage.py makemessages -a
     8run `./manage.py makemessages -a`
     9
    710find the string in the .po file and translate it like this:
     11{{{
    812#: templates/test.html:2
    913#, python-format
    1014msgid "findme 10% of their"
    1115msgstr "findemich 10% an "
     16}}}
    1217
    13 run ./manage.py compilemessages
     18run `./manage.py compilemessages`
    1419
    1520get this error message:
     21{{{
    1622/project/locale/de/LC_MESSAGES/django.po:925: 'msgstr' is not a valid Python format string, unlike 'msgid'. Reason: In the directive number 1, the character 'a' is not a valid conversion specifier.
    1723msgfmt: found 1 fatal errors
     24}}}
Back to Top