flutter-localizing-apps

Configure Flutter app localization with ARB files and locale delegates.

2|Updated Aug 13, 2023
One-click install
npx skills add https://github.com/NNPopov/movie-theater-tickets --skill flutter-localizing-apps-nnpopov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-localizing-apps
Source: https://github.com/NNPopov/movie-theater-tickets/tree/main/src/clients/.claude/skills/flutter-localizing-apps
Command: npx skills add https://github.com/NNPopov/movie-theater-tickets --skill flutter-localizing-apps-nnpopov

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you add and maintain multilingual support in a Flutter app so users can see the interface in their own language and region.

Core Features & Use Cases

  • ARB-based localization setup: Organize translatable strings in app-specific resource files and generate typed accessors.
  • Locale-aware app wiring: Configure MaterialApp or CupertinoApp with the correct delegates and supported locales.
  • Advanced text handling: Support placeholders, plurals, selects, dates, and numbers for polished localized UI.
  • Use Case: Prepare a Flutter product for international launch by adding new languages, validating translation files, and keeping the app’s copy consistent across screens.

Quick Start

Localize this Flutter app by setting up ARB files, adding the required localization delegates, and wiring AppLocalizations into the root app widget.

Frequently Asked Questions about flutter-localizing-apps

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

FAQPage Schema
How do I set up Flutter localization with ARB files?

Set up Flutter localization by organizing translatable strings in ARB files, generating typed accessors, and wiring AppLocalizations into your MaterialApp or CupertinoApp delegates.

What do I need to configure supported locales in a Flutter app?

Configure supported locales by adding flutter_localizations and intl packages, defining supportedLocales, and applying the correct localization delegates to your root app widget.

Can I handle plurals and placeholders in Flutter internationalization?

Handle plurals and placeholders in Flutter internationalization by defining message syntax in ARB files to generate typed accessors for polished localized UI text.

Does this localization approach work with CupertinoApp?

This localization approach works with CupertinoApp by applying the correct delegates, supportedLocales, and generated AppLocalizations to the root widget.

How do I add a new language to an existing Flutter app?

Add a new language by creating a locale-specific ARB file with translated strings, updating the supportedLocales list, and generating the updated AppLocalizations accessors.

What is the best way to manage localized dates and numbers in Flutter?

Manage localized dates and numbers in Flutter by using the intl package alongside ARB-based string management to ensure locale-aware formatting across the UI.