[wp-trac] [WordPress Trac] #33511: Bad value for attribute lang on element html
WordPress Trac
noreply at wordpress.org
Sat Aug 22 15:16:53 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 Chouby):
I went on with my investigations. If I well understood the [http://www
.rfc-editor.org/rfc/bcp/bcp47.txt BCP47], we could use private use
subtags. Private use subtags are introduced by a 'x'.
As such, we could keep a different locale for formal German represented
by: `de-DE-x-formal`
If we need to keep a separate locale for Catalan (Balear), we could use
something as: `ca-x-ES-IB` (ES-IB beeing the
[https://en.wikipedia.org/wiki/ISO_3166-2:ES ISO 3166-2] code for Balearic
Islands.
Both new proposed codes validate at https://validator.w3.org/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33511#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list