[wp-trac] [WordPress Trac] #33511: Bad value for attribute lang on element html

WordPress Trac noreply at wordpress.org
Fri Feb 26 14:56:36 UTC 2016


#33511: Bad value for attribute lang on element html
--------------------------+------------------------------
 Reporter:  Chouby        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by rianrietveld):

 The same occurs for Dutch lang="nl-NL" and  lang="nl-NL-formal".
 nl-NL-formal gives a validation error: "Bad value nl-NL-formal for
 attribute lang on element html: Bad variant subtag formal.”
 These translations are significant different in the way users are
 addressed, but both very Dutch.
 So lang="nl-NL" would validate for both of them.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33511#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list