Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Arabic App Strings Gate: Plurals, RTL & Script QA

    2

    - `many` (11–99) takes a singular accusative: ١١ ملفًا.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Arabic App Strings Gate: Plurals, RTL & Script QA

    Arabic App Strings Gate: Plurals, RTL & Script QA

    Example session with this skill installed

    Before we ship the Arabic release of our shop app, check ar.json against en.json (i18next + ICU plurals). Fix what you can and tell me whether we can ship.

    • Read your context and instructions
    • Compiled the arabic app strings

    Decision: BLOCK → SHIP after fixes. 79/100 before: 1 missing required plural form, 1 Persian letter, and 1 plural branch grammatically wrong. 100/100 after the fixes below.

    1. Gate output

    python3 scripts/ar_strings_gate.py en.json ar.json

    ──────────────────────────────────────────────────────────────────────────────
     ARABIC APP STRINGS GATE   source: en.json (14 msgs)   arabic: ar.json (14 msgs)
    ──────────────────────────────────────────────────────────────────────────────
     ERROR=2  WARN=4  REVIEW=1  INFO=1   SCORE 79/100   FIX BEFORE RELEASE
     HOW THAT SCORE WAS REACHED
       100 starting points
       -12  2 ERROR finding(s) × 6 (cap 60)
       -8   4 WARN finding(s) × 2 (cap 25)
       -1   1 REVIEW finding(s) × 1 (cap 10)
    ──────────────────────────────────────────────────────────────────────────────
     ERROR  A1  product.in_stock
            Missing plural form 'many' — used for 11–99 (e.g. ١١ ملفًا)
     ERROR  A6  orders.shipped
            Persian letter(s) in Arabic text (breaks search and sorting)
            evidence: ک -> ك
            fixed:    '‏{courier} استلم طلبك'
     WARN   A1  product.in_stock
            Missing plural form 'zero' — used for 0 (e.g. لا توجد ملفات)
     WARN   A2  cart.items
            'few' is identical to 'many': 3–10 takes a plural noun, 11+ does not — one of them is wrong
            evidence: {{count}} منتجات في سلتك
     WARN   A5  orders.shipped
            Starts with a placeholder or Latin word: with auto direction the whole line renders left-to-right
            evidence: {courier} استلم طلبک
     WARN   A5  promo.banner
            Starts with a placeholder or Latin word: with auto direction the whole line renders left-to-right
            evidence: Apple Pay متاح الآن عند الدفع
     REVIEW A2  product.reviews
            'many' is identical to 'other'; 11–99 normally takes the singular in the accusative (ملفًا / رسالةً)
            evidence: # مراجعة
     INFO   A7  orders.points
            Latin punctuation in Arabic text (Arabic uses ؟ ، ؛)
            evidence: ?
    ──────────────────────────────────────────────────────────────────────────────
    

    2. Plural grammar review (reviewed judgement, not script output)

    cart.items — test numbers 0 / 1 / 2 / 3, 105 / 11, 115 / 100

    BranchArabicRuleVerdictCorrection
    zeroسلتك فارغةnegation phraseCORRECT–
    oneمنتج واحد في سلتكsingular + واحدCORRECT–
    twoمنتجان في سلتكdual, nominativeCORRECT–
    few{{count}} منتجات في سلتك3–10: pluralCORRECT–
    many{{count}} منتجات في سلتك11–99: singular accusativeWRONG{{count}} منتجًا في سلتك
    other{{count}} منتج في سلتك100+: singular genitiveCORRECT–

    product.in_stock: added zero {نفدت الكمية} and `many {بقيت

    قطعةً فقط}. The existing بقي

    قطع` is correct, because a masculine verb is allowed with a broken plural.

    • product.reviews: many {# مراجعة} is acceptable unvocalised. Changed to # مراجعةً for clarity.

    3. Fixes applied

    • --write-fixed ar.fixed.json replaced ک with ك in orders.shipped and added an RLM before {courier}… and before Apple Pay….
    • The grammar corrections were applied on top.
    • orders.points was rewritten as a label (نقاط المكافأة التي ربحتها: {points}), which also removes the Latin ?.
    • Re-run result: ERROR=0 WARN=0 REVIEW=0 INFO=0 SCORE 100/100 PASS.

    Out of scope: layout mirroring, strings built in code, iOS files, tone.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Arabic has six plural forms, and most translation files ship two:

    • few (3–10) takes a plural noun: ٣ ملفات.
    • many (11–99) takes a singular accusative: ١١ ملفًا.
    • other (100+) takes a singular genitive: ١٠٠ ملف.

    Copy one branch into another and the app is wrong for a whole range of numbers. Generic i18n linters miss this, because nothing is technically missing.

    Three other silent breakers:

    • A name placeholder at the start of a line flips the whole line left-to-right.
    • A translator on a Persian keyboard types ی and ک. They look identical but break search and sorting.
    • Placeholders like %2$s get dropped.

    What it does

    1. Gate (deterministic). 8 checks across JSON, i18next, ICU MessageFormat, Flutter ARB and Android strings.xml. The score shows its arithmetic.
    2. Grammar review. Every plural branch is tested at 0, 1, 2, 3, 105, 11, 115 and 100 against a written reference of Modern Standard Arabic number–noun rules: agreement, the dual's case and gender polarity.
    3. Fixed copy. A new file holds the Persian letter and digit fixes, direction marks, and the grammar corrections you approve. The gate then re-runs and reports the new score.

    Why trust it

    • Standard-library Python, no network. It never overwrites your file.
    • An independent QA pass tried to break it (percent signs, ICU #, symlinks, BOM files, nested JSON); every bug it found was fixed before release.
    • The grammar reference ships in the package, so you can check every rule.

    What it will not tell you

    It does not translate from scratch or judge CSS/layout mirroring. It does not read iOS .stringsdict files, and it is not a translation-quality score. Dialectal brand voice is respected when you name it.

    Built by a native Arabic speaker who works with Arabic linguistics.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.

    Supports JSON, i18next, ICU MessageFormat, Flutter ARB and Android strings.xml. Not iOS .stringsdict/.xcstrings, not i18next v3 key_0..key_5. Does not check CSS/layout mirroring or strings built by concatenation in code. Grammar review covers Modern Standard Arabic; dialectal brand voice is reported as a choice, not an error. Not a translation-quality score.

    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 10 days ago

    Software
    Python 3.6+Terminal / shell

    Permissions

    File Scopes

    locale
    files
    you
    name
    (read)
    *.fixed.json
    (write
    only
    with
    --write-fixed)

    Reads the two files you name. Writes only the new file given to --write-fixed, never the input. No network.

    Listed10 days ago

    What's inside

    Frequently Asked Questions

    CLDR defines zero, one, two, few (3–10), many (11–99) and other (100+) for Arabic. Few takes a plural noun, many a singular accusative and other a singular genitive. Two forms cannot express that.

    No. It gates and repairs an existing Arabic file. Grammar corrections come from the review phase and are shown for approval.

    JSON (flat or nested), i18next suffixes, ICU MessageFormat, Flutter ARB and Android strings.xml. iOS .stringsdict is not supported yet.

    Only with --write-fixed, and only into a new file. It refuses to overwrite the input, including through a symlink.

    The grammar reference is Modern Standard Arabic. If your brand writes in dialect, say so and the review judges against your convention.

    New in Mobile Development