Details
- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
Major
 - 
    15.5.3, 15.9, 14.10.19
 
- 
        Unknown
 - 
        N/A
 - 
        N/A
 - 
        
 - 
        3.1.1 Language of Page
 
Description
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)