about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2025-02-11 13:47:46 -0800
committerGitHub <noreply@github.com>2025-02-11 13:47:46 -0800
commit3ab5c6a71f20f086d7238fb5dc59321d7b85d86b (patch)
treec5b855269388e3fc14bea795bcc157134a5d4a94 /docs
parentaccd1834b3ea24fd61b04defd7b8cfac53a5a146 (diff)
downloadvoidsky-3ab5c6a71f20f086d7238fb5dc59321d7b85d86b.tar.zst
More i18n process updates (#7720)
* Modify intl:extract to only target english, the source language

* Add github action to regularly update english .po file

* Update localization doc
Diffstat (limited to 'docs')
-rw-r--r--docs/localization.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/localization.md b/docs/localization.md
index 1c43fe439..25c4518e6 100644
--- a/docs/localization.md
+++ b/docs/localization.md
@@ -40,16 +40,18 @@ Please only request a new language when you are certain you will be able to cont
 
 Install the [Crowdin CLI](https://crowdin.github.io/crowdin-cli/). You will need to [configure your API token](https://crowdin.github.io/crowdin-cli/configuration) to access the project.
 
+### English source-file sync with Crowdin
+
+Every night, a GitHub action will run `yarn intl:extract` to update the english `messages.po` file. This will be automatically synced with Crowdin. Crowdin should notify all subscribed users of new translations.
+
 ### Release process
 
 1. Pull main and create a branch.
 1. Run `yarn intl:pull` to fetch all translation updates from Crowdin.
 1. Create a PR, ensure the translations all look correct, and merge.
-1. Merge all approved translation PRs (contributions from outside crowdin).
-1. Pull main.
-1. Run `yarn intl:extract` to sync the english `.po` file with the state of the app.
-1. Run `yarn intl:push` to sync Crowdin with the state of the repo.
-1. Commit the updated english `.po` and push to GitHub.
+1. If needed:
+  1. Merge all approved translation PRs (contributions from outside crowdin).
+  1. Run `yarn intl:push` to sync Crowdin with the state of the repo.
 
 ### Testing the translations in Crowdin