nextcloud/docker-ci

Assistant

Closed this issue ยท 1 comments

๐Ÿ‘ค App repository

To be done by you

js/
vendor/
  • Create file .tx/config with the following content, replace {{APPID}} with your app id 3 times:
[main]
host     = https://www.transifex.com
lang_map = hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, bg_BG: bg, cs_CZ: cs, fi_FI: fi

[o:nextcloud:p:nextcloud:r:{{APPID}}]
file_filter = translationfiles/<lang>/{{APPID}}.po
source_file = translationfiles/templates/{{APPID}}.pot
source_lang = en
type        = PO

๐Ÿ—๏ธ Sysadmin team

  • ๐Ÿ‘€ Ensure access:
  • โš™๏ธ Ensure repository setup:
    • .tx/config
    • l10n/.gitkeep
    • .l10ignore
  • โž• Add "Owner Repository", into https://github.com/nextcloud/docker-ci/edit/master/translations/config.json
    • Pull request: #567
  • ๐Ÿ”‘ SSH into translation machine: ssh root@transifex-sync.nextcloud.com
  • โ†ฉ๏ธ Change dir: cd /srv/docker-ci
  • โฌ‡๏ธ Pull: git pull origin master
  • ๐Ÿง‘โ€๐Ÿ’ป Run the first sync manually:
docker run -v /srv/cronie-data/transifexrc:/root/.transifexrc \
    -v /srv/cronie-data/gpg:/gpg \
    -v /srv/cronie-data/ssh/id_rsa:/root/.ssh/id_rsa \
    --rm -i ghcr.io/nextcloud/continuous-integration-translations-app \
    AUTHOR APPID

๐Ÿ”ฃ Translation team

  • Transifex: New resource should appear
  • Transifex: Do translations and check sync to repo
  • Add resource to wiki