Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate tx/rx to transifex #22

Open
sarathms opened this issue Feb 11, 2022 · 1 comment
Open

Automate tx/rx to transifex #22

sarathms opened this issue Feb 11, 2022 · 1 comment
Labels
discuss invites discussion from contributors technical task technical tasks e.g. deployment

Comments

@sarathms
Copy link
Contributor

Use github workflows to schedule/trigger pushing and pulling from Transifex.

Some reference implementations:
https://github.com/kobotoolbox/form-builder-translations/blob/master/.github/workflows/transifex-pull.yml
https://github.com/hanifbirgani/pep8ir/blob/main/.github/workflows/deploy.yml

@sarathms sarathms added discuss invites discussion from contributors technical task technical tasks e.g. deployment labels Feb 11, 2022
@hellais
Copy link
Member

hellais commented Mar 9, 2022

Basically the problem is about:

  1. Ensuring that when a new string is added to an app (Android, iOS or Desktop), you don't forget to update the csv and then the files in transifex.
  2. Ensuring that when you make a release you have the latest version of the strings

As a first step we are going to just simplify the process for dealing with 1, but not requiring to manually download the CSV and as part of https://github.com/ooni/translations/blob/master/sync-csv-source.sh first fetch the master CSV from gsheets.

Some other approaches we discussed to address this better in the long term include:

  • Adding a commit hook to do 1 and 2
  • Doing 2 as part of some release script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss invites discussion from contributors technical task technical tasks e.g. deployment
Projects
None yet
Development

No branches or pull requests

2 participants