- Home
- Skills
- Frontend & Web Apps
- i18n + RTL Ship: Translate Your App to Arabic, French & More
More screenshots
Works with the AI Agents you already use
i18n + RTL Ship: Translate Your App to Arabic, French & More
Stop hard-coding strings and breaking layouts when supporting new markets.
$12
i18n + RTL Ship: Translate Your App to Arabic, French & More
Example session with this skill installed
Add Arabic and French to my React + Tailwind app in src/. Arabic must be right-to-left and look correct. Use react-i18next.
- Read your context and instructions
- Compiled the i18n + rtl
1. Found the strings
$ python scripts/scan_strings.py src/
17 hard-coded strings in 3 files
components/Navbar.tsx:10 [text] Start free -> navbar.start_free
components/Checkout.tsx:6 [placeholder] Email address -> checkout.email_address
components/Checkout.tsx:3 [toast.success] Payment received, thank you!
components/Pricing.tsx:9 [text+vars] {seats} seats selected
Reviewed into 16 meaningful keys (pricing.title, checkout.pay_now...), brand name kept, "{seats} seats selected" turned into an ICU plural.
2. Fixed the layout for RTL
$ python scripts/rtl_audit.py src/ --fix
19 physical left/right rules (fixed in 4 files), 4 need manual review
Navbar.tsx ml-auto -> ms-auto · rounded-l-md -> rounded-s-md · pl-4 -> ps-4 · pr-3 -> pe-3
styles.css margin-left: -> margin-inline-start: · left: -> inset-inline-start: · float: right -> float: inline-end
review: ArrowRight icon -> mirror in RTL · space-x-6 -> gap-6
Then: react-i18next + i18next-icu installed, <html lang dir> switched with the language, IBM Plex Sans Arabic loaded for Arabic only, language switcher added.
3. Translated (excerpt)
| Key | English | العربية | Français |
|---|---|---|---|
| pricing.title | Simple pricing for growing teams | أسعار بسيطة للفرق المتنامية | Des tarifs simples pour les équipes en croissance |
| navbar.start_free | Start free | ابدأ مجاناً | Commencer gratuitement |
| checkout.pay_now | Pay now | ادفع الآن | Payer maintenant |
Arabic plural with all six forms
`{count, plural, zero {لم يتم اختيار أي مقعد} one {تم اختيار مقعد واحد} two {تم اختيار مقعدين} few {تم اختيار
مقاعد} many {تم اختيار
مقعداً} other {تم اختيار
مقعد}}`
4. Validated
$ python scripts/check_locales.py locales/ --source en
[ar] 100% translated · 0 errors
[fr] 100% translated · 0 errors · 4 "long" warnings (buttons checked in the UI)
(An earlier draft was caught with a missing key, {amount} instead of {price}, and only 2 of 6 Arabic plural forms.)
Screenshots: English, Arabic before the fix (nav and borders on the wrong side, arrow pointing the wrong way) and Arabic after (fully mirrored).
For native review: legal line "By paying you agree to our terms."
Connects securely to your tools. The creator never sees your data.
About this skill
Stop hard-coding strings and breaking layouts when supporting new markets. This skill moves web applications from English-only to fully internationalized, localized, and RTL-compliant versions.
What it does
- String Extraction Identifies hard-coded UI strings, aria-labels, and placeholders across JSX, Vue, Svelte, and HTML files.
- Library Configuration Sets up framework-specific i18n libraries and configures
<html lang>anddirattributes. - RTL Transformation Converts directional CSS and Tailwind classes to logical properties and mirrors appropriate icons.
- ICU Pluralization Handles complex plural forms, including the six categories required for Arabic, using standard ICU syntax.
- Validation & Stress Testing Runs automated checks for missing keys, placeholder mismatches, and layout overflows using pseudo-locales.
How it works
- Scope and Detect The agent scans
package.jsonto identify the framework and confirms target languages and URL strategy. - Extract and Map Hard-coded strings are moved to a source JSON file where keys are renamed to meaningful paths like
auth.login.title. - Refactor Codebase The agent replaces UI text with translation calls and installs the necessary i18n infrastructure.
- Audit RTL Python scripts identify and fix directional styling while flagging manual edge cases like carousels or specific icons for review.
- Translate and Verify Locale files are generated with correct typography and validated against the source for technical parity.
Frameworks & tools
Works with React, Next.js, Vue, Svelte, Astro, and Tailwind CSS. Utilizes Python scripts for string scanning and layout auditing.
Why this beats prompting it yourself
Generic prompts often miss aria-labels, fail at complex Arabic plural logic, or forget to mirror directional icons. This skill uses a systematic audit process that ensures every string is caught and layouts don't break in RTL mode.
Use cases
- Add Arabic support to a Tailwind-based React dashboard.
- Prepare a SaaS application for a French and Spanish market launch.
- Fix broken layouts and unmirrored icons in an existing RTL implementation.
- Standardize translation keys and ICU plurals across a large codebase.
Known limitations
Requires Python 3.9+ for running audit scripts. Brand names and specific code constants must be manually excluded during the string review phase.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 8 days ago
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in Frontend & Web Apps
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.