internationalization

Organize Flutter localization with ARB files and l10n.yaml workflows.

1|Updated May 26, 2026
One-click install
npx skills add https://github.com/virajp/ai-plugins --skill internationalization-virajp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: internationalization
Source: https://github.com/virajp/ai-plugins/tree/main/plugins/flutter/skills/internationalization
Command: npx skills add https://github.com/virajp/ai-plugins --skill internationalization-virajp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Flutter developers maintain consistent multilingual applications by preventing hardcoded user-facing text and providing a reliable localization workflow.

Core Features & Use Cases

  • Flutter Localization Guidance: Defines how ARB files, l10n.yaml configuration, generated localization classes, and app delegates work together.
  • Translation Pipeline Support: Guides the genarb, translation, and gen-l10n workflow for keeping locale files synchronized.
  • Use Case: Use this Skill when adding new UI text, updating localization configuration, or wiring generated translations into a Flutter application.

Quick Start

Ask the Skill to update a Flutter localization string by adding it to the English ARB template and following the localization generation workflow.

Frequently Asked Questions about internationalization

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

FAQPage Schema
How do I add a new translation string to a Flutter app using ARB files?

To add a Flutter translation string, insert the new key into the English ARB template file, run the gen-l10n workflow, and wire the generated typed localization access pattern into your localized UI.

What is the gen-l10n workflow for Flutter localization?

The gen-l10n workflow for Flutter localization uses l10n.yaml configuration to process ARB files, generating localization classes and app delegates that provide typed localization access patterns for localized UI integration.

How do I configure l10n.yaml for Flutter locale generation?

Configuring l10n.yaml for Flutter locale generation involves defining settings that coordinate ARB file processing, translating string templates, and generating localization delegates and classes for your application's supported locales.

Can I use generated localization delegates with hardcoded text in Flutter?

Generated localization delegates replace hardcoded text in Flutter by providing a typed localization access pattern. Maintaining a consistent English ARB template prevents hardcoded user-facing text and ensures reliable translation synchronization.

What's the best way to keep Flutter ARB files synchronized across translations?

The best way to keep Flutter ARB files synchronized is maintaining a consistent English ARB template and applying the translation pipeline workflow, ensuring generated delegates and localized UI integration stay updated across all locales.

Why does my Flutter localization throw missing delegate errors after updating ARB files?

Flutter localization missing delegate errors occur when generated delegates are not properly wired into the app after updating ARB files. Running the gen-l10n workflow regenerates the required localization classes and ensures correct delegate wiring.