eng-add-localized-string

Add and localize user-facing strings in Hifz Companion ARB files.

Updated Jun 17, 2026
One-click install
npx skills add https://github.com/zakariaf/Hifz-Companion --skill eng-add-localized-string
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eng-add-localized-string
Source: https://github.com/zakariaf/Hifz-Companion/tree/main/.claude/skills/eng-add-localized-string
Command: npx skills add https://github.com/zakariaf/Hifz-Companion --skill eng-add-localized-string

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires flutter_localizations, intl, gen_l10n, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of adding, renaming, or modifying user-facing strings in Hifz Companion, ensuring consistent localization across multiple languages and scripts.

Core Features & Use Cases

  • Add/Modify Strings: Add, rename, or modify UI text, notifications, and screen-reader labels through a standardized ARB pipeline.
  • Transcreation: Supports transcreation in multiple languages (fa, ckb, ar) for accurate localization.
  • Use Case: When introducing a new feature or updating an existing one, use this Skill to add the corresponding localized strings in the correct format, ensuring they pass through the localization and accessibility gates.

Quick Start

To add a new string for a feature, create a new key in app_ar.arb and add the corresponding string in fa, ckb, and ar to the respective .arb files, then run the localization and accessibility gate before pushing.

Frequently Asked Questions about eng-add-localized-string

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add localized strings in Flutter using gen_l10n and ARB files?

To add localized strings using gen_l10n, you create a new key in your base app_ar.arb file and add the corresponding translations to the respective .arb files for other languages.

What is transcreation in Flutter localization and when do I need it?

Transcreation in Flutter localization adapts content beyond literal translation for cultural relevance. You need it when localizing user-facing strings across multiple languages like Arabic, Persian, and Kurdish Sorani.

Does the Flutter gen_l10n pipeline handle RTL text and plural rules for Arabic?

Yes, the gen_l10n pipeline handles Arabic RTL and bidi text formatting along with plural rules. It ensures proper numeral formatting and key coverage when processing ARB files.

Can I use gen_l10n for Persian and Kurdish Sorani localization in Flutter?

Yes, you can use gen_l10n for Persian and Kurdish Sorani localization by adding translated strings to the fa and ckb .arb files respectively, ensuring accurate transcreation through the ARB pipeline.

What dependencies do I need to run the Flutter gen_l10n localization pipeline?

You need the flutter_localizations package, the intl package, and the gen_l10n tool to run the localization pipeline. These dependencies ensure proper string generation, plural rules, and numeral formatting.

How should I structure ARB files when adding new UI text for multiple languages?

When adding new UI text, structure your ARB files by defining a base key in app_ar.arb and adding corresponding strings in the fa and ckb .arb files, then run the localization gate before pushing.