Skip to content
This repository has been archived by the owner. It is now read-only.

liri-infra/transifex-action

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

transifex-action

Push sources and pulls translations.

Usage

This action is usually called in a schedule workflow like this:

name: Translations Sync

on:
  schedule:
    - cron: '0 15 * * 0'

jobs:
  update-translations:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Run lupdate
        uses: liri-infra/lupdate-action@master
      - name: Push sources and pull translations
        uses: liri-infra/transifex-action@master
        with:
            tx_token: ${{ secrets.TX_TOKEN }}
            ssh_key: ${{ secrets.CI_SSH_KEY }}
            push_sources: true
            pull_translations: true

The example checks out the project, configures git to push with a ssh key, then update .ts files, push them to Transifex and pull back the translations refreshed with the new sources.

About

Manage translations with Transifex

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published