-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
π€ App repository
To be done by you
- Link to your repository: https://github.com/nextcloud/sketch_picker
- If the app is not in the Nextcloud organisation
- Invite
nextcloud-botwith write permissions - Make sure all translated branches do not have branch protection enabled, see https://docs.nextcloud.com/server/latest/developer_manual/basics/front-end/l10n.html#setup-of-the-transifex-sync for more details
- Invite
- Create file
l10n/.gitkeepwith empty content - Add
.l10nignoreto exclude compiled JS files and thirdparty code, e.g. ignoring compiled javascript assets and composer PHP dependencies in the vendor/ directory:js/ vendor/ - Create file
.tx/configwith 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
- βοΈ Validate your repository and translation strings:
bash translations/validateSyncSetup.sh Owner Repository
ποΈ Sysadmin team
-
π Ensure access:
- Nextcloud organisation repository: Add
nextcloud-botwith admin permissions - Other repositories:
- Ensure the invite was accepted
- Ensure the app certificate is linked to the same repository/author https://github.com/nextcloud/app-certificate-requests
- Nextcloud organisation repository: Add
-
βοΈ Ensure repository setup and run initial source validation:
bash translations/validateSyncSetup.sh Owner Repository
-
β Add
"Owner Repository",into https://github.com/nextcloud/docker-ci/edit/master/translations/config.json- Pull request: Translate "nextcloud sketch_picker"Β #846
-
π 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