#30241: Add system checks to ensure correct configuration of translation
settings.
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: closed
Cleanup/optimization |
Component: Core (System | Version: master
checks) |
Severity: Normal | Resolution: fixed
Keywords: translations, | Triage Stage: Ready for
system checks, language tags | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Matthias Kestenholz):
It seems that when overriding `LANGUAGES` it's required to override
`LANGUAGES_BIDI` too. This might not be intentional...?
Example failure: https://travis-
ci.org/matthiask/feincms3-sites/jobs/517232818 respectively
{{{
Destroying test database for alias 'default' ('test_feincms3_sites')...
SystemCheckError: System check identified some issues:
ERRORS:
?: (translation.E005) You have provided values in the LANGUAGES_BIDI
setting that are not in the LANGUAGES setting.
System check identified 1 issue (0 silenced).
The command "cd tests && ./manage.py test -v 2 testapp && cd .." exited
with 1.
}}}
This is with `LANGUAGES = (("en", "English"), ("de", "German"))` and
`LANGUAGES_BIDI` from `django/conf/global_settings.py`
--
Ticket URL: <https://code.djangoproject.com/ticket/30241#comment:6>
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/065.4d6bff51a95daa0ba501282c1515f309%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.