#16516: Blocktrans should tolerate bad locale data
----------------------------------+--------------------------------------
Reporter: simon29 | Owner: nobody
Type: Cleanup/optimization | Status: new
Milestone: | Component: Internationalization
Version: 1.3 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Easy pickings: 1
UI/UX: 0 |
----------------------------------+--------------------------------------
Currently, blocktrans crashes entire pages when it tries to merge strings
that aren't properly formatted in the locale data files.
For example, if %(person)s is the original, the spanish translated version
might erroneously include %(persona)s. If that's being blocktrans'd in
your base template, it'll crash your whole spanish site.
Translators work separately to template writers, and are generally less
technical. Mistakes happen. They are minor and shouldn't bring sites down.
Especially with tools like django-rosetta in their hands.
IMHO, the default behaviour here should be to ignore (or perhaps throw a
warning) on improperly formatted translation strings.
--
Ticket URL: <https://code.djangoproject.com/ticket/16516>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.