More screenshots

    Works with the AI Agents you already use

    i18n + RTL Ship: Translate Your App to Arabic, French & More

    by Younes Habssane

    1

    Stop hard-coding strings and breaking layouts when supporting new markets.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    i18n + RTL Ship: Translate Your App to Arabic, French & More

    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)

    KeyEnglishالعربيةFrançais
    pricing.titleSimple pricing for growing teamsأسعار بسيطة للفرق المتناميةDes tarifs simples pour les équipes en croissance
    navbar.start_freeStart freeابدأ مجاناًCommencer gratuitement
    checkout.pay_nowPay 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> and dir attributes.
    • 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

    1. Scope and Detect The agent scans package.json to identify the framework and confirms target languages and URL strategy.
    2. Extract and Map Hard-coded strings are moved to a source JSON file where keys are renamed to meaningful paths like auth.login.title.
    3. Refactor Codebase The agent replaces UI text with translation calls and installs the necessary i18n infrastructure.
    4. Audit RTL Python scripts identify and fix directional styling while flagging manual edge cases like carousels or specific icons for review.
    5. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Terminal / Shell
    Read Files
    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    The skill automates the identification of hard-coded strings, sets up i18n libraries, refactors UI code with translation hooks, and converts directional CSS into RTL-friendly logical properties.

    It supports major modern frameworks including React, Next.js, Vue, Svelte, and Astro, and is specifically optimized for styling systems like Tailwind CSS.

    Unlike generic prompts, this skill uses a specialized audit process to catch hidden strings like aria-labels and placeholders while applying complex ICU pluralization rules specific to languages like Arabic.

    The skill includes the core agentic logic for string extraction and refactoring, plus the Python-based auditing scripts used to validate layout integrity and RTL compliance.

    You will need Python 3.9+ installed to run the layout audit scripts, and you should manually review your code to exclude brand names or constants that should remain untranslated.

    Yes, the skill is designed to scan existing RTL implementations to identify broken layouts, unmirrored directional icons, and CSS that hasn't been converted to logical properties.

    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.