WordPress.org

Ready to get started?Download WordPress

Forums

Bug: Invalid language subtag in Danish locale (2 posts)

  1. shitface
    Member
    Posted 2 years ago #

    In the Danish locale of WordPress 3.4.1 the language subtag is invalid, according to RFC 5646. This makes the HTML invalid.

    The W3C HTML Validator will give you an error similar to this:

    Line 6, Column 29: Bad value da_DK for attribute lang on element html: The language subtag da_dk is not a valid language subtag.

    <html dir="ltr" lang="da_DK">

    Bloginfo -> 'language' is set to 'da_DK', but should be 'da', as of 2005.

  2. keesiemeijer
    moderator
    Posted 2 years ago #

    If this is a bug in WordPress core you can submit a bug report: http://codex.wordpress.org/Reporting_Bugs

Topic Closed

This topic has been closed to new replies.

About this Topic