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

WordPress Trac noreply at wordpress.org
Sun Mar 6 16:57:55 UTC 2016


#33511: Bad value for attribute lang on element html
------------------------------+----------------------------
 Reporter:  Chouby            |       Owner:  ocean90
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.5
Component:  I18N              |     Version:  4.3
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility
------------------------------+----------------------------

Comment (by Chouby):

 @SergeyBiryukov, @ocean90 In theory, your solution should work. I wonder
 how it will be handled by translators in practice.

 Beside this new html_lang_attribute, we already have ltr,
 number_format_decimal_point and number_format_thousands_sep which must not
 be translated in the usual way. I checked a few locales and this seems to
 be misunderstood by some translators (comments do no seem to be
 sufficient). Ex:
 [https://translate.wordpress.org/projects/wp/dev/bel/default bel],
 [https://translate.wordpress.org/projects/wp/dzo/bel/default dzo]

 @afercia it's even worse than what I would have expected ;-)

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


More information about the wp-trac mailing list