Opened on 04/27/2014 at 07:49:49 PM

Last modified on 10/08/2019 at 05:47:22 PM

#391 new change

Automate Crowdin upload/download for Android

Reported by: trev Assignee:
Priority: P3 Milestone:
Module: Adblock-Plus-for-Android Keywords:
Cc: fhd Blocked By:
Blocking: Platform: Android
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description

Background

Currently uploading master translation to Crowdin and downloading translations is a pretty error-prone process, this needs to be automated.

What to change

Implement a script that will do the equivalent of the following commands available in other repositories:

build.py setuptrans <project-key>

This will set up translation languages for the project, in this case all the languages available in Android.

build.py translate <project-key>

This will upload the master translation (en-US) to Crowdin when a new translation round is started.

build.py gettranslations <project-key>

This will download the translations from Crowdin and put them into the right directories.

Adblock Plus for Android already has buildtools as a subrepository (unused from what I can tell) so using/extending buildtools.localeTools for this task might be a good idea.

Attachments (0)

Change History (3)

comment:1 Changed on 04/27/2014 at 07:50:40 PM by trev

  • Cc fhd added

comment:2 Changed on 08/05/2015 at 03:07:05 PM by fhd

  • Platform set to Android
  • Tester set to Unknown

#2625 added something very similar for the cms repository - there might be some potential for reuse.

comment:3 Changed on 09/02/2019 at 07:49:33 AM by yoyo9996

spam

Last edited on 10/08/2019 at 05:47:22 PM by kzar

Add Comment

Modify Ticket

Change Properties
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from (none).
Next status will be 'reviewing'.
 
Note: See TracTickets for help on using tickets.