Skip to content

Commit

Permalink
Update i18n release process to solve missing translations (#7766)
Browse files Browse the repository at this point in the history
* Update release process to avoid untranslated strings

* Run intl:extract:all
  • Loading branch information
pfrazee authored Feb 18, 2025
1 parent a287916 commit 4146f9f
Show file tree
Hide file tree
Showing 37 changed files with 8,515 additions and 8,022 deletions.
3 changes: 2 additions & 1 deletion docs/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ Every night, a GitHub action will run `yarn intl:extract` to update the english
### Release process

1. Pull main and create a branch.
1. Run `yarn intl:pull` to fetch all translation updates from Crowdin.
1. Run `yarn intl:pull` to fetch all translation updates from Crowdin. Commit.
1. Run `yarn intl:extract:all` to ensure all `.po` files are synced with the current state of the code. Commit.
1. Create a PR, ensure the translations all look correct, and merge.
1. If needed:
1. Merge all approved translation PRs (contributions from outside crowdin).
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"perf:measure": "NODE_ENV=test flashlight measure",
"intl:build": "yarn intl:extract && yarn intl:compile",
"intl:extract": "lingui extract --clean --locale en",
"intl:extract:all": "lingui extract --clean",
"intl:compile": "lingui compile",
"intl:pull": "crowdin download translations --verbose -b main",
"intl:push": "crowdin push translations --verbose -b main",
Expand Down
Loading

0 comments on commit 4146f9f

Please sign in to comment.