Opened 5 years ago

Closed 5 years ago

#1229 closed defect (fixed)

Support ISO 639-2 language codes

Reported by: zzz Owned by:
Priority: minor Milestone: 0.9.12
Component: apps/console Version: 0.9.11
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

We only support two-letter language codes but some languages only have three-letter ISO 639-2 language codes. These are supported as of Java 7. We just had our first three-letter language requested on Transifex - Asturian (ast).

Translate.java looks fine but CSSHelper.setLang() must be fixed. Look for other places, update javadocs where necessary.

ref:

http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html
http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html
http://en.wikipedia.org/wiki/Asturian_language

Subtickets

Change History (1)

comment:1 Changed 5 years ago by zzz

Milestone: 0.9.130.9.12
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.