Request translations for "souvenirs" application
zorgluf opened this issue ยท 3 comments
zorgluf commented
๐ค App repository
To be done by you
- Link to your repository: https://github.com/zorgluf/souvenirs-nextcloud
- If the app is not in the Nextcloud organisation
- Invite
nextcloud-bot
with 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/.gitkeep
with empty content - Add
.l10nignore
to 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/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:- Nextcloud organisation repository: Add
nextcloud-bot
with 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:-
.tx/config
-
l10n/.gitkeep
-
.l10ignore
-
-
โ Add"Owner Repository",
into https://github.com/nextcloud/docker-ci/edit/master/translations/config.json- Pull request: #510
-
๐ 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
nickvergessen commented
I'll have a look next week
nickvergessen commented
Was done until the last step, but apparently I forgot to ask Sysadmin to accept the invite:
ERROR: Permission to zorgluf/souvenirs-nextcloud.git denied to nextcloud-bot.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
So will finish on Monday
nickvergessen commented
Found one that can accept it. So done