-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
👤 App repository
To be done by you
- Link to your repository: https://github.com/nextcloud/desktop
- 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:... [o:nextcloud:p:nextcloud:r:client-fileprovider] file_filter = shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Localizable.xcstrings source_file = shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Localizable.xcstrings source_lang = en type = XCSTRINGS [o:nextcloud:p:nextcloud:r:client-fileproviderui] file_filter = shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Localizable.xcstrings source_file = shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Localizable.xcstrings source_lang = en type = XCSTRINGS
- ⚙️ Validate your repository and translation strings:
bash translations/validateSyncSetup.sh Owner Repository
Hint:
Desktop client is dependent on the Iso codes of the operating, thats why de_de => de should not be relveant
🏗️ 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:
-
🔑 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