[wp-trac] [WordPress Trac] #28858: New installation: Language Selector
WordPress Trac
noreply at wordpress.org
Mon Jul 21 21:47:41 UTC 2014
#28858: New installation: Language Selector
-----------------------------+----------------------------
Reporter: joedolson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0
Component: Upgrade/Install | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: accessibility
-----------------------------+----------------------------
Comment (by johnbillion):
Replying to [ticket:28858 joedolson]:
> 3) Languages are written in native language, but have no lang attribute
to inform screen reader how to pronounce the language. Patch adds
`lang="$language['language']"` -- this will not be complete, because the
WP language profiles do not match the ISO 639 language code list
http://www.loc.gov/standards/iso639-2/php/code_list.php. Might be a good
idea to set up a language reference so that these can be mapped
appropriately.
The Translations API now includes ISO 639 codes for each language, so we
can use the ISO 639-1 code in the `lang` attribute which is what
[http://www.ietf.org/rfc/rfc1766.txt RFC 1766] recommends.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28858#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list