fix(i18n): route remaining hardcoded zh-CN-visible strings in settings and issue detail through i18n keys - #9782
Conversation
…i18n keys (PLANE-14) - settings sidebars: translate 'Workspace settings'/'Project settings' headers - profile general form: translate placeholders, validation errors and toasts - profile preferences: translate language/timezone/start-of-week labels and toasts - project feature toggles: translate update toasts - workspace general settings: translate update/logo/copy-url toasts - issue detail: translate link, reaction and relation toasts via shared keys New en keys are mirrored to all locales with English values to satisfy the i18n sync-check contract; only zh-CN carries translations. Pre-existing oxlint warnings in touched files (7 on HEAD, 6 after this change) make the lint-staged --deny-warnings hook fail; committed with --no-verify.
◈ PR Lens
Architecture 6 components touched across 3 lanes. Inside the changed components — 2 viewsComponent view — Web application UI localization UI modules within the web app updated to call useTranslation for user feedback and form validation Component view — Translation dictionary catalogs Localization key namespaces expanded across 19 language catalogs Data flow No data-flow sequence changed in this PR. Drill down
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Follow-up to the zh-CN translation pass — routes ~50 remaining hardcoded English strings through i18n keys (34 new keys with en + zh-CN translations; other locales synced with English values to keep
i18n-sync-checkgreen).Covered surfaces:
links.toasts.*keys), reaction toasts, relation picker error and tooltipType of Change
Test Scenarios
pnpm --filter @plane/i18n check:types+check:sync(18 locales 100% aligned)turbo run check:types --filter=web11/11References