nextcloud / nextcloud/docker-ci
Translation request for files_sharing_raw
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 45
- Forks
- 37
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 8
Description
Prologue
The Nextcloud community on Transifex produces the translations of your app. To this end, the app author undertakes to comply with the following requirements:
- The app must be available in the Nextcloud App Store. Should the app be removed from the store, the translation work on Transifex will be paused or the resource removed.
- The app author must create an account on Transifex and join the Nextcloud project. This makes it easier to respond to queries regarding the app’s strings.
👤 App repository
To be done by you
-
Link to your repository: https://github.com/ernolf/files_sharing_raw
-
If the app is not in the Nextcloud organisation
- Invite
nextcloud-botwith write permissions - The 'nextcloud-bot' is added to the bypass list with 'Exempt', (same as in #968)
- 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 -
Name of the Transifex user:
ernolf(orraphael.gradenwitz@googlemail.com)For details see https://nextcloud.com/translation/ .
🏗️ 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 -
🧑💻 Run the first sync manually:
ssh transifex-sync.nextcloud.comcd /srv/docker-ci 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 -
Transifex: New resource should appear
-
GitHub: Check if there was a sync commit in the repository
- If not, go to Transifex, translate some strings in a language you know and trigger the sync again with the docker command
-
Transifex: On the resource go to Settings > Untick "Your translators can translate resource strings" > Save settings
-
➕ Add
"Owner Repository",into https://github.com/nextcloud/docker-ci/edit/master/translations/config.json- Pull request:
- Request review from
rakekniven
🔣 Translation team
Currently done by rakekniven
- Transifex: Check quality of the English source strings
- Transifex: Check translation guidelines
- GitHub: Approve the above pull request (and merge it)
- Transifex: On the resource go to Settings > Delete the resource
- Forum: Add resource to wiki
🏗️ Sysadmin team
- GitHub: Ensure the above pull request is merged
- 📅 Enable the daily sync:
ssh transifex-sync.nextcloud.comcd /srv/docker-ci git pull origin master
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the checklist and the referenced translations/validateSyncSetup.sh, then inspect .tx/config, .l10nignore, and l10n/.gitkeep in the app repository. Follow the documented Docker sync command and verify that a Transifex resource and sync commit appear; completion requires the repository, sysadmin, and translation-team checklist items to be addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, docker, git
- Domain
- localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100