Steps to reproduce:
- Login as Administrator
- Open the top-right side bar and click "Administer Wiki"
- Go to the "Content > Localization" section
- Change the "Default Language" field to "German (Germany)".
- Click save
Expected result: The HTML 'lang' global attribute is set to 'de-DE' using a dash ('-') as a separator (see: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang#language_tag_syntax) Actual result: The HTML 'lang' global attribute is set to an invalid 'de_DE'. (See screenshot) |