Repository navigation
feat(i18n): add complete Persian locale and RTL coverage - #10583
Merged
Merged
Conversation
DanielnetoDotCom
approved these changes
Sep 8, 2026
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.
Add complete Persian (
fa_IR) localization and RTL coverageSummary
This pull request adds a complete, production-oriented Persian localization for AVideo and makes the project documentation accessible to Persian-speaking operators and contributors.
It includes:
fa_IRcatalog with all 1,638 keys fromen_USin the same order;fa_IRandfa-IR;Why this matters
Persian is written right-to-left and is used by a large community of creators, educators, media teams, and self-hosting operators. A locale is only useful when it is complete, context-aware, safe for runtime interpolation, and correctly connected to the application's directionality system. This change covers those requirements together instead of shipping a partial word-for-word translation.
Translation quality
The catalog was reviewed as product copy, not as an isolated glossary. Terminology is consistent across the UI, including:
Technical names and standards such as API, CDN, EPG, URL, VAST, WWBN, Netflix, and YouTube Data API remain unchanged where translation would reduce clarity or break product terminology.
Files changed
locale/fa_IR.php— complete Persian catalogtests/Unit/PersianLocaleTest.php— localization contract testsREADME.fa.md— complete Persian project documentationREADME.md— language switcher link to the Persian READMEVerification
fa_IRandfa-IR: passedgit diff --check: passedCompatibility and risk
The change is additive. It does not alter existing locale keys, application routes, database schemas, or runtime behavior for other languages. The regression test compares Persian against the current English catalog, so future source-string drift is visible immediately.
Reviewer notes
Persian reviewers are especially welcome to comment on tone and domain terminology. The automated tests intentionally protect runtime syntax while leaving wording open to human refinement.