devilry / trix2

Next generation Trix. Detailed task control and statistics app for better learning outcome.
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Unable to overwrite HTML lang attribute #114

Closed torgeirl closed 1 year ago

torgeirl commented 1 year ago

It seems both 2.1.4 and 3.0.0b4 default to lang="en" despite trix/project/production/settings.py containing LANGUAGE_CODE = 'nb', and it isn't possible to overwrite by adding LANGUAGE_CODE = 'nb' to our local trix_settings file.

Levijatan commented 1 year ago

Searched up where it was hardcoded and quickly fixed it.