Welsh translation - ministryofjustice/prison-visits-2 GitHub Wiki

The information below may be out of date - June 2024.

NOMS Wales manages translations via Transifex. This means that we:

Write English translations in the YAML files as usual.

  • Push the English up to Transifex.
  • Pull down Welsh from Transifex.

In order to use Transifex, you need the client and an account.

The Transifex client is written in Python and can be installed via

$ pip install transifex-client

You will also need to configure the user account for the client.

To push the English translations to Transifex, use

tx push -s

To pull Welsh, use

tx pull -l cy

Then commit as usual