feat(i18n): add Persian locale - #626
Open
Devenio wants to merge 1 commit into
Open
Conversation
Register fa as an RTL dashboard locale with matching dictionaries, pricing copy, README, and language badges so Persian speakers can use the product without falling back to English. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
faas an RTL dashboard locale (selectors,rtlLocales, and a full dictionary set matching English keys).fa-u-nu-latn) so prices stay readable next to Latin currency.docs/i18n/README.fa.mdand a فارسی language badge on the root README and every localized README.Product names, commands, URLs, and placeholders (
Openship Cloud,gh CLI, PEM headers,{name}) stay in English, same convention as Arabic/Turkish. The i18n untranslated ratchet is raised only for those intentionally-identical strings.Test plan
bunx vitest run src/i18n/i18n-parity.test.tsinapps/dashboard— 3/3 pass (fails iffais registered without dictionaries, or if untranslated English prose grows).bunx vitest run src/pricing/pricing.test.tsinpackages/core— 62/62 pass, including locale coverage matching the dashboard.bun run --cwd apps/dashboard lintandbun run --cwd packages/core lint.docs/i18n/README.fa.mdrenders.