#28808: Allow customizing the fallback language
-------------------------------------+-------------------------------------
Reporter: Denis | Owner: Claude Paroz
Anuschewski |
Type: New | Status: assigned
feature |
Component: | Version: 1.11
Internationalization | Keywords: translation,
Severity: Normal | internationalization, request
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
This is a follow-up ticket for #28636, where I proposed changes that
differ from the much better solution which came up in the analysis from
Claude Paroz. So in order to clean up things the new approach with the
underlying problem is now mentioned here:
Currently there is no way to explicitly specify a fallback language for
both unsupported languages ( = not in `settings.LANGUAGES`) and missing
literal translations in the translation files. This job is done by
`settings.LANGUAGE_CODE` which controls a lot of other language-related
features.
It would be useful to be able to control this behavior without touching
`settings.LANGUAGE_CODE` which defines your project's installation-wide
language preference. One scenario in which you would benefit from that is
having a non-English project where you want to deliver English as fallback
for languages that differ from your base language.
--
Ticket URL: <https://code.djangoproject.com/ticket/28808>
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/051.d78291a7ec4af0416c0070b211ee4fdd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.