Skip to content

✨ Add RTL Support and Locale Configuration for Farsi (Persian) - #13

Open
pashaie wants to merge 18 commits into
diandian18:masterfrom
pashaie:rtl
Open

✨ Add RTL Support and Locale Configuration for Farsi (Persian)#13
pashaie wants to merge 18 commits into
diandian18:masterfrom
pashaie:rtl

Conversation

@pashaie

@pashaie pashaie commented Jun 7, 2025

Copy link
Copy Markdown

✅ Changes Included:
✅ Replaced directional CSS properties (margin-left, padding-right, etc.) with CSS logical properties (margin-inline-start, padding-inline-end, etc.) for automatic RTL/LTR support

✅ Added Farsi (fa) locale to the app’s language configuration

✅ Updated <ConfigProvider>:

Dynamically sets locale using languageMap[language]

Sets direction="rtl" when the selected language is Farsi

✅ Verified visual rendering and layout flips correctly for RTL

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