Ideascube doesn't respect LANGUAGE_CODE for the initial staff creation
This was originally reported at https://framagit.org/ideascube/pibox-installer/issues/115
In a git clone:
- Make sure you start from a clean database:
rm -fr storage
- Set
LANGUAGE_CODE = 'es'
inideascube/conf/dev.py
make migrate
python manage.py runserver
- Go to
http://localhost:8000
At this point you get redirected to http://localhost/en/welcome_staff/
, which is a page in English even though you requested the UI to default to Spanish.
Worse, after filling up this page, you get redirected to the home page at http://localhost/en/
, again, in English.