Repository navigation
feat(i18n): add Persian runtime language support - #270
Merged
Merged
Conversation
18 tasks done
18 tasks done
This PR makes fa a recognized runtime language internally but does not yet expose Persian in Setup/Settings or browser auto-detection. User-facing enablement remains gated on translation, RTL, locale and printing work. - Add 'fa' to Language type in i18n.ts - Import fa.json and add to translations map - Add 'fa-IR' locale to ICU plural formatter - Accept 'fa' in fetchServerInfo language validation - Update Zustand pos-settings store to use canonical Language type - Update Tenant type in types.ts to use Language - Fix syncTenantLanguage in auth store to preserve valid 'fa' on auth load - Fix ServerKdsInfo.language in useServerKdsInfo to use Language Refs #241
khaira777
force-pushed
the
feat/241-a-fa-runtime-wiring
branch
from
August 13, 2026 00:26
04f37ab to
7558023
Compare
khaira777
marked this pull request as ready for review
August 13, 2026 00:36
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.
This PR makes
faa recognized runtime language internally but does not yet expose Persian in Setup/Settings or browser auto-detection. User-facing enablement remains gated on translation, RTL, locale and printing work.fatoLanguagetype ini18n.tsand importfa.jsonfa-IRlocale to ICU plural formatterfainfetchServerInfolanguage validationpos-settingsstore to use canonicalLanguagetypeTenanttype intypes.tsto useLanguagesyncTenantLanguageinauthstore to preserve validfaon auth loadServerKdsInfo.languageinuseServerKdsInfoRefs #241