On Monday 08 May 2017 09:27:52 Abdullah Sh. wrote:
> Well as far I can test, Django i18n does supports fall-back 'xx-YY' to
> 'xx' then to default ('en' in my case) but only for 'Accept-Language'
> user agent header. It does not do same for URL language switch.
Could you please report this as a bu
Well as far I can test, Django i18n does supports fall-back 'xx-YY' to 'xx'
then to default ('en' in my case) but only for 'Accept-Language' user agent
header. It does not do same for URL language switch.
Here is the solution I could come up with:
from django.views.generic import RedirectV
Well, official documentation says clearly it should fall-back (ex: fr-fr to
fr then to en) but my case raises 404 error.
Source: https://django.readthedocs.io/en/1.5.x/topics/i18n/translation.html
If a base language is available but the sublanguage specified is not,
> Django uses the base lan
3 matches
Mail list logo