[wp-trac] [WordPress Trac] #59985: Language "German (Austria)" outputs html lang incorrectly as "de-DE" not "de-AT"
WordPress Trac
noreply at wordpress.org
Wed Nov 29 10:29:02 UTC 2023
#59985: Language "German (Austria)" outputs html lang incorrectly as "de-DE" not
"de-AT"
--------------------------+-----------------------------
Reporter: crascher | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 6.4
Severity: major | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi, the problem seems to be old or to be back since some time.
The lang attribute in the html tag for the language/translation "German
(Austria)" is incorrectly output as "de-DE". This would be correct for
plain German, but for the region of Austria it should be "de-AT".
See also here: https://core.trac.wordpress.org/ticket/55412
This is quite a problem for us because we have different pages in Germany
and Austria. To have for both pages de-DE is impacting our SEO setup.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59985>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list