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

WordPress Trac noreply at wordpress.org
Tue Sep 1 12:02:32 UTC 2015


#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 samuelsidler):

 This is... fun. :)

 In general, I think we should continue to use the ISO 639-3 codes for our
 subdomains and internal tracking, but perhaps output lang attributes with
 ISO 639-2 codes if such a code exists for that locale. In the case of de-
 de-formal, perhaps that locale should output de-de as the lang attribute
 and not de-de-formal, but I am sure experts will disagree. :)

 AFAICT, Catalan (Balear) has never been used and could probably be removed
 / recreated with the correct locale code.

 (Note that the [https://make.wordpress.org/polyglots/ polyglots team]
 handles locale codes and it's probably best to post over there with a link
 to this ticket.)

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


More information about the wp-trac mailing list