#26337: Translations - No fallback used if requesting english variant
-------------------------------------+-------------------------------------
Reporter: cristianocca | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:
Keywords: i18n translations | Triage Stage: Accepted
english |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by cristianocca):
Hmmm, what about the use case where your msgids are in a different
language than your default language setting? This is pretty much the
reason of the hardcoded english for django.
Example again:
- default language = spanish
- msgids language = russian (russian developers making an spanish site)
- requested language = english, if you don't have an english
catalog/translation you expect to fall into the default language (as it
would with any other language that's not english).
- Actual result --> russian msgids rather than spanish translated values
because default language is never loaded.
Perhaps there can be a simplified note, something like: "Keep in mind that
due to certain framework limitations, when an english variant is
requested, it will not load the default language and will end up returning
msgids if a catalog or translation is not available"
--
Ticket URL: <https://code.djangoproject.com/ticket/26337#comment:9>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.c1f9e1ee3905395e386b5f2b80acdf1c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.