Add DokuWiki integration app to Transifex
rotdrop opened this issue ยท 6 comments
๐ค App repository
To be done by you
- Link to your repository: https://github.com/rotdrop/nextcloud-app-dokuwiki
- 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: #512
-
๐ 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
I'm having a busy week, but will do it Tuesday next week
Thanks for the Info and for this translation service! Tuesday is really fast enough, just take your time.
PS the .tx/backport
file should not be needed. If you remove it the translations are always backported to branches with stable...
of supported Major versions (currently stable24
and stable25
, soon stable26
will be added)
Kind thanks for the translation service and the hint; actually, I had hoped that in the presence of the backport file only the branches mentioned there would be updated. I think I have to clean up the git-repo a little bit ...
I had hoped that in the presence of the backport file only the branches mentioned there would be updated.
That is also the case, so with the file in place stable24 will be skipped. Note that master/main will always be translated
All done