Skip to content

feat: add Persian localization with RTL and Jalali calendar support#215

Open
AmirHosseinZg wants to merge 9 commits into
Sync-in:mainfrom
AmirHosseinZg:feature/fa-rtl-jalali-support
Open

feat: add Persian localization with RTL and Jalali calendar support#215
AmirHosseinZg wants to merge 9 commits into
Sync-in:mainfrom
AmirHosseinZg:feature/fa-rtl-jalali-support

Conversation

@AmirHosseinZg

Copy link
Copy Markdown

Summary

Adds Persian (fa) localization support to Sync-in, including:

  • Persian frontend translations
  • Persian backend notification translations
  • Right-to-left (RTL) layout support
  • Jalali calendar integration
  • Locale registration for Day.js and Bootstrap
  • Tests and documentation

Changes

Localization

  • Added Persian locale registration on backend and frontend
  • Added Persian notification translations
  • Added Persian UI translations

RTL Support

  • Dynamic dir and lang switching based on active locale
  • Migrated RTL-relevant styling to CSS logical properties
  • Audited remaining physical properties and documented intentional exceptions

Jalali Calendar

  • Integrated jalaliday
  • Added Jalali calendar rendering for Persian users
  • Preserved Gregorian behavior for all other locales

Testing

  • Added locale registration and normalization tests
  • Verified all existing tests continue to pass

Validation

  • Lint: PASS
  • Tests: PASS (984 tests)
  • Backend Build: PASS
  • Frontend Build: PASS

Documentation

Implementation and validation reports are included under:

docs/contribution/

Notes

The implementation follows the repository's existing localization architecture and contribution guidelines without introducing architectural changes.
2026-06-05_09-47-41
2026-06-05_09-47-12
2026-06-05_09-47-02
2026-06-05_09-46-44

…sion

- Fix 2 translation keys in fa.json: U+0027 → U+2019 quote character
  (100% key match with de.json)
- Convert 18 remaining RTL-relevant physical CSS properties to logical
  properties across _header.scss, _modal.scss, _notifications.scss,
  _recents.scss, _search.scss, _theme_dark.scss, _tree.scss
- Add comprehensive RTL final audit report
- Add PR final readiness report
@cla-assistant

cla-assistant Bot commented Jun 5, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@johaven

johaven commented Jun 9, 2026

Copy link
Copy Markdown
Member

Hi @AmirHosseinZg,

Thank you for the PR. We’ll review it as soon as possible.

Could you please sign the CLA and rebase your branch?

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.

2 participants