Defect #14206
closed
  
Synchronize the lang attribute of the HTML with the display language 
 
        
        Added by Naoya Niwa over 12 years ago.
        Updated over 12 years ago.
        
  
  
  
  Description
  
  Currently, lang attribute of HTML is specified "en" always regardless of the display language.
   
 
  
  Files
  
 
  
  
    
    
    
    
    I made patch.
It gets the value of the lang attribute from I18n.locale.
	Just in case, I made sure the existing locales conform to BCP 47 by the following tool.
	http://schneegans.de/lv/
 
   
  
  
    
    
    
    
       - Status changed from Resolved to New
 
   
  
  
  
  
    
    
    
    
    This is a patch with tests.
 
   
  
  
    
    
    
    I appreciate all your help.
At the same time, please forgive my ignorance.
	However, I think that should put double quotes around the value of the lang attribute.
I made sure no problem otherwise.
 
   
  
  
    
    
    
    
    Sorry, this is a patch with double quotes.
 
   
  
  
    
    
    
    
       - Status changed from New to Resolved
Thank you very much indeed!
 
   
  
  
    
    
    
    
       - Status changed from Resolved to New
 
   
  
  
    
    
    
    
       - Target version set to 2.4.0
 
   
  
  
    
    
    
    
       - Has duplicate Defect #4009: "html" tag's xml:lang always "en" for all languages added
 
   
  
  
    
    
    
    
       - Status changed from New to Closed
- Resolution set to Fixed
 
   
  
 
  
  
  
 
Also available in:  Atom
  PDF