feat(i18n): add Farsi (Persian) language and RTL support#16
Closed
SaharPak wants to merge 1 commit into
Closed
Conversation
- Add fa.yaml with complete Farsi translations for all UI strings - Register Farsi locale in i18n config with dir: rtl and Iran flag icon - Set html dir and lang attributes dynamically based on active locale - Add RTL CSS overrides for header and toolbar panel positioning This lays the groundwork for RTL language support (Arabic, Hebrew, Urdu) and makes the tool accessible to Persian-speaking job seekers worldwide. Co-authored-by: Cursor <cursoragent@cursor.com>
❌ Deploy Preview for markdown-resume-app failed.
|
Author
|
The Netlify deploy failure appears to be a pre-existing build configuration issue — the workspace packages need to be built before the site ( |
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.
Summary
This PR adds Farsi (Persian) language support and introduces the RTL (right-to-left) infrastructure that the project currently lacks.
Changes
site/src/i18n/fa.yaml— Complete Farsi translation of all UI strings (landing page, resume management, toolbar, import/export, notifications)site/configs/i18n.ts— Register Farsi locale withdir: "rtl"and Iran flag icon (i-circle-flags:ir)site/src/app.vue— Dynamically setdirandlangattributes on<html>based on the active locale, so any future RTL locale (Arabic, Hebrew, Urdu) works automaticallysite/src/assets/css/index.css— RTL CSS overrides for header padding and mobile toolbar panel positioningWhy this matters
Screenshots
The changes are structural (i18n + CSS); here's what to expect:
Testing
pnpm install && pnpm -C packages build && pnpm -C site devMade with Cursor