Repository navigation
ci(i18n): add Crowdin upload/download workflows - #4148
Merged
Merged
Conversation
nynexman4464
requested review from
cixzhang,
ejhammond and
imdreamrunner
as code owners
July 21, 2026 22:43
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
nynexman4464
enabled auto-merge (squash)
July 21, 2026 23:06
Wire up Crowdin OSS for community translations of packages/core/locales/en.json using the mastodon-style CLI-in-GitHub-Actions pattern (no Crowdin GitHub App). - crowdin.yml: react_intl source at packages/core/locales/en.json, translations written to packages/core/locales/<lang>.json. skip_untranslated_files keeps empty per-locale files out of the repo until real content lands. - crowdin-upload.yml: on push to main touching en.json (or workflow_dispatch), push source strings to Crowdin. Read-only permissions. - crowdin-download.yml: workflow_dispatch only for now — pulls translations, normalizes with prettier, and opens a PR via peter-evans/create-pull-request against a stable l10n/crowdin branch. A cron schedule will follow after smoke-testing the full flow end-to-end. - CONTRIBUTING.md: add a Translations section linking to the Crowdin project. Third-party actions SHA-pinned per repo policy: crowdin/[email protected] (e0c8f73) peter-evans/[email protected] (22a9089)
nynexman4464
force-pushed
the
nynexman4464/feat/crowdin-integration
branch
from
July 22, 2026 16:50
7a7a687 to
851d0a5
Compare
This was referenced Jul 22, 2026
31 of 40 tasks
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Wires up Crowdin OSS for community translations of astryx's UI strings. Follows the mastodon-style CLI-in-GitHub-Actions pattern — GitHub Actions runs the Crowdin CLI on the repo's own runners against
crowdin/project/astryx. No third-party GitHub App, no server-side integration, no bot account.Follows the plan in T280631283.
What's in this PR
crowdin.yml— Crowdin CLI config. Source ispackages/core/locales/en.json(react_intl format); translations write topackages/core/locales/<lang>.json.skip_untranslated_files: truekeeps empty per-locale files out of the repo until real content lands..github/workflows/crowdin-upload.yml— on push tomainthat touchesen.json(or manualworkflow_dispatch), pushes source strings up to Crowdin. Read-only repo permissions..github/workflows/crowdin-download.yml—workflow_dispatchonly for now. Pulls translations, normalizes with prettier, opens a PR to a stablel10n/crowdinbranch viapeter-evans/create-pull-request. A cron schedule follows in a separate PR after we smoke-test the full flow end-to-end.CONTRIBUTING.md— aTranslationssection pointing translators at the Crowdin project.Third-party actions SHA-pinned per repo policy:
crowdin/[email protected](e0c8f73)peter-evans/[email protected](22a9089)Secrets already in place on this repo
CROWDIN_PERSONAL_TOKEN— Crowdin PAT for the astryx bot Crowdin accountCROWDIN_PROJECT_ID— numeric Crowdin project ID (not sensitive)Rollout plan
crowdin-uploadworkflow viaworkflow_dispatch, verify sources land on Crowdin.crowdin-downloadmanually and review the generated PR.crowdin-downloadonce the flow is proven end-to-end.token:input fromGITHUB_TOKENto a maintainer PAT so CI runs on translation PRs.Notes
ci(scripts): teach verify-exports…)../.github/actions/setupcomposite for Node + pnpm bootstrap.commit_message: '[ci skip]'incrowdin.ymlis a safety default; Crowdin CLI doesn't commit anything in our setup (all PR creation is via peter-evans).en.jsonsource of truth stays authoritative in git — Crowdin cannot edit source strings, only translations.Refs: T280631283, #3641