[wp-trac] [WordPress Trac] #28858: New installation: Language Selector

WordPress Trac noreply at wordpress.org
Thu Aug 7 15:56:57 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:  dev-feedback     |     Focuses:  accessibility
-----------------------------+----------------------------

Comment (by joedolson):

 The official guidelines on what you should use for language codes are
 quite complicated: ISO-639 2-letter codes if available, 3-letter codes if
 not. I believe that this is because of support; the 2-letter codes are
 more globally supported than the 3-letter codes.

 If we use the ISO-639-3 codes, that would give us the greatest coverage
 for language pronunciation. If a language doesn't have an ISO-639 code,
 then we would just have to fallback to whatever we could; screen readers
 aren't going to support those missing codes anyway, so it's not a
 realistic option to provide the "right" code - it doesn't exist.

 I haven't looked at the data in the translations API; is it reasonable to
 have a fallback series: ISO 639-1 if available, ISO 639-3 if not?

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


More information about the wp-trac mailing list