Skip to content

feat(i18n): add Persian locale - #626

Open
Devenio wants to merge 1 commit into
oblien:mainfrom
Devenio:feat/i18n-persian
Open

feat(i18n): add Persian locale#626
Devenio wants to merge 1 commit into
oblien:mainfrom
Devenio:feat/i18n-persian

Conversation

@Devenio

@Devenio Devenio commented Aug 18, 2026

Copy link
Copy Markdown

Summary

  • Add fa as an RTL dashboard locale (selectors, rtlLocales, and a full dictionary set matching English keys).
  • Ship matching Openship Cloud pricing copy and pin Latin numerals (fa-u-nu-latn) so prices stay readable next to Latin currency.
  • Add docs/i18n/README.fa.md and 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.ts in apps/dashboard — 3/3 pass (fails if fa is registered without dictionaries, or if untranslated English prose grows).
  • bunx vitest run src/pricing/pricing.test.ts in packages/core — 62/62 pass, including locale coverage matching the dashboard.
  • bun run --cwd apps/dashboard lint and bun run --cwd packages/core lint.
  • Switch the dashboard language picker to فارسی and confirm RTL layout plus Persian copy on Settings / onboarding.
  • Confirm the فارسی badge on README and docs/i18n/README.fa.md renders.

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant