Opened 9 years ago

Closed 8 months ago

#1966 closed defect (fixed)

Need to handle non-ISO-639-1 language codes

Reported by: nickm Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Orbot Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I hear from Runa that orbot can't handle language codes of multiple characters. This is (obviously) a problem for the billion people who read zh_CN, but it's also a problem for all the people who speak languages that have codes in ISO 639-2 but not ISO 639-1, like Hmong or Berber or Madurese.

Child Tickets

Change History (5)

comment:1 Changed 9 years ago by runa

Currently, we name the directory "values-zh" instead of "value-zh_CN" when converting translations for Orbot. This will create problems when we get translations for languages with codes such as zh_HK, pt_BR and es_AR. Is there an easy way to fix this?

comment:2 Changed 9 years ago by n8fr8

Status: newassigned

Based on this post, it is possible: http://ykyuen.wordpress.com/2009/12/16/android-localization/

You specify the region component like so:

values-zh-rCN
values-zh-rTW
values-en-rGB

and so on.

also more official info here: http://developer.android.com/guide/topics/resources/localization.html

comment:3 Changed 21 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

comment:4 Changed 8 months ago by Orfoxisdead

Component: Applications/OrbotApplications/Tor Browser
Owner: changed from n8fr8 to tbb-team

Is there something doable?

comment:5 in reply to:  2 Changed 8 months ago by gk

Component: Applications/Tor BrowserApplications/Orbot
Resolution: fixed
Status: assignedclosed

Replying to n8fr8:

Based on this post, it is possible: http://ykyuen.wordpress.com/2009/12/16/android-localization/

You specify the region component like so:

values-zh-rCN
values-zh-rTW
values-en-rGB

and so on.

Seems to have been implemented. Hard to say, though, when this got fixed. Orfoxisdead: This is yet another ticket that is no Tor Browser one. Please don't just simply change the ticket component. Thanks.

Note: See TracTickets for help on using tickets.