Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#1934 closed enhancement (fixed)

Updated Chinese Translation

Reported by: pen9u1n Owned by: n8fr8
Priority: Medium Milestone:
Component: Applications/Orbot Version:
Severity: Keywords: zh
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I've updated chinese translation for Orbot (svn trunk).

Patch will be attached.

Child Tickets

Attachments (3)

updateed-zh-translation.patch (8.6 KB) - added by pen9u1n 9 years ago.
patch against Orbot svn trunk
zh.po (11.6 KB) - added by pen9u1n 9 years ago.
translated po file for strings-zh.po from a2po
updated-chinese-translate.patch (7.6 KB) - added by pen9u1n 9 years ago.
updated chinese translate with full i18n in preference, deps on patch in #1969

Download all attachments as: .zip

Change History (15)

Changed 9 years ago by pen9u1n

patch against Orbot svn trunk

comment:1 Changed 9 years ago by n8fr8

Status: newassigned

Thank you. We will integrate this into:

https://translation.torproject.org/bo/orbot/strings.po

comment:2 Changed 9 years ago by pen9u1n

I used 'android2po' to translate it in the gettext way, and import it into Orbot source tree, then svn diff xxxx > patch.

I'll upload the translated po file if it's more convenience to integrate.

Changed 9 years ago by pen9u1n

Attachment: zh.po added

translated po file for strings-zh.po from a2po

comment:3 Changed 9 years ago by runa

I included your patch yesterday. The following po file should have all of your changes in it: https://svn.torproject.org/svn/translation/trunk/projects/orbot/zh_CN/strings.po. Can you confirm that everything looks OK?

Please note that uploading po files on https://translation.torproject.org/ will only show your translations as suggestions.

comment:4 Changed 9 years ago by pen9u1n

Hi runa,

Some translate is miss, such as:

msgid "Hidden Services"

msgid "Setting up control..."

Some one is not identical with my patch:

msgid "Orbot is starting..."

ehmm... how did you get my patch included? 'a2po' ? msgmerge?

Changed 9 years ago by pen9u1n

updated chinese translate with full i18n in preference, deps on patch in #1969

comment:5 Changed 8 years ago by djhalliday

Bumping this one - in the current iteration, a number of strings require localization updates and many are missing any value at all (most obvious being the Settings options.

comment:6 Changed 8 years ago by n8fr8

Orbot translations now live here:

https://www.transifex.net/projects/p/torproject/resource/3-orbot-strings-xml/

and all work should be done directly via this site.

We need to do a "pull" from transifex as well in order to assure we have the most up to date translations.

comment:7 in reply to:  6 Changed 8 years ago by runa

Replying to n8fr8:

We need to do a "pull" from transifex as well in order to assure we have the most up to date translations.

We pull translations every 15 or 30 minutes (can't remember which one, but we pull often) and you can find the files in the Orbot branch of https://gitweb.torproject.org/translation.git

comment:8 Changed 8 years ago by n8fr8

Sorry to ask this for the 20th time, but how do I push a NEW strings.xml into transifex, if we have added/update fields in the app?

comment:9 in reply to:  8 Changed 8 years ago by runa

Replying to n8fr8:

Sorry to ask this for the 20th time, but how do I push a NEW strings.xml into transifex, if we have added/update fields in the app?

Just commit and push to master, and you're done. Transifex checks the following URL for updates several times a day and pulls in any new or updated strings: https://gitweb.torproject.org/orbot.git/blob_plain/master:/res/values/strings.xml

As long as the version you are pushing to master is the one that ends up on that URL, you're good.

comment:10 Changed 8 years ago by djhalliday

not to turn this into Transifex support forum, but how does one configure that Git polling within a Transifex project? Whenever I've created a new resource for a project, it's always asked to upload from local machine and I don't see any indication that it will automatically update itself.

comment:11 in reply to:  10 Changed 8 years ago by runa

Resolution: fixed
Status: assignedclosed

Replying to djhalliday:

not to turn this into Transifex support forum, but how does one configure that Git polling within a Transifex project? Whenever I've created a new resource for a project, it's always asked to upload from local machine and I don't see any indication that it will automatically update itself.

Transifex can pull source files (not translated files) from a URL; choose the resource and click the "Edit resource" button. You should have an option called "Source file URL".

Since this ticket is no longer about updated Chinese translations for Orbot, I'm marking it as closed.

comment:12 Changed 8 years ago by djhalliday

great, thanks!

Note: See TracTickets for help on using tickets.