[wp-trac] [WordPress Trac] #21724: Bug: Invalid language subtag in Danish locale

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 29 10:51:33 UTC 2012


#21724: Bug: Invalid language subtag in Danish locale
--------------------------+-----------------------------
 Reporter:  shitface      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Validation    |    Version:  3.4.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21724>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list