From 18eb6617ec154d1f108b439a456b08405173ccf0 Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Thu, 9 Jan 2025 14:16:40 +0100 Subject: [PATCH 1/2] [docs-only] Add a note to translation docs how to manual start syncing. --- docs/services/general-info/add-translations.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/services/general-info/add-translations.md b/docs/services/general-info/add-translations.md index 481302270..004a694b6 100644 --- a/docs/services/general-info/add-translations.md +++ b/docs/services/general-info/add-translations.md @@ -16,7 +16,8 @@ Services can have texts that need to be translated. These translations will be s The process for _synchronisation_ with Transifex is already setup and nothing needs to be done here. For any translation, it is necessary to set it up in the respective service and tell to sync it. -Translations are automatically synced on a daily basis in the night. +**IMPORTANT**\ +Translations are automatically synced on a daily basis in the night. To do so, there is an own repo that covers the process for ALL translations from all configured repos: [translation-sync](https://github.com/owncloud/translation-sync). If there is a manual "emergency" sync necessary, you only need to trigger [drone](https://drone.owncloud.com/owncloud/translation-sync). Note that you need drone write access to do that. ## Implementing ocis Translations From c9838667c1ff40604392ef6ff1787ce0385e6fa6 Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Thu, 9 Jan 2025 14:33:03 +0100 Subject: [PATCH 2/2] add cli command --- docs/services/general-info/add-translations.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/services/general-info/add-translations.md b/docs/services/general-info/add-translations.md index 004a694b6..7af8af2a2 100644 --- a/docs/services/general-info/add-translations.md +++ b/docs/services/general-info/add-translations.md @@ -17,7 +17,12 @@ Services can have texts that need to be translated. These translations will be s The process for _synchronisation_ with Transifex is already setup and nothing needs to be done here. For any translation, it is necessary to set it up in the respective service and tell to sync it. **IMPORTANT**\ -Translations are automatically synced on a daily basis in the night. To do so, there is an own repo that covers the process for ALL translations from all configured repos: [translation-sync](https://github.com/owncloud/translation-sync). If there is a manual "emergency" sync necessary, you only need to trigger [drone](https://drone.owncloud.com/owncloud/translation-sync). Note that you need drone write access to do that. +Translations are automatically synced on a daily basis in the night. To do so, there is an own repo that covers the process for ALL translations from all configured repos: [translation-sync](https://github.com/owncloud/translation-sync). If there is a manual "emergency" sync necessary, you only need to trigger [drone](https://drone.owncloud.com/owncloud/translation-sync) via cli + +```bash +drone cron exec owncloud/translation-sync nightly +``` +Note that you need to be logged on in drone to execute the command. ## Implementing ocis Translations