You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the language (say, Spanish) is set to Live, but the main page for Spanish is in Draft or non-existing, the users with Spanish language set in their browsers will encounter a 404 error when accessing the website main page.
How to reproduce?
Create a new language, say, Spanish. Set the Live checkbox to True.
Change the language of your browser to Spanish.
Delete the local website's django_language cookie.
Navigate to your site without specifying the page (so http://127.0.0.1:8000/, not http://127.0.0.1:8000/en)
Translate the English main page to Spanish, but keep the Spanish page in Draft
Repeat step 4.
Expected result:
The website falls back to default language (English)
Issue summary
When the language (say, Spanish) is set to Live, but the main page for Spanish is in Draft or non-existing, the users with Spanish language set in their browsers will encounter a 404 error when accessing the website main page.
How to reproduce?
django_language
cookie.http://127.0.0.1:8000/
, nothttp://127.0.0.1:8000/en
)Expected result:
The website falls back to default language (English)
Actual result:
404 error
Technical details
The text was updated successfully, but these errors were encountered: