flutter-internationalization

Configure Flutter app internationalization with gen-l10n and ARB files.

5|Updated Oct 14, 2025
One-click install
npx skills add https://github.com/reloveution/dart-flutter-rules --skill flutter-internationalization-reloveution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-internationalization
Source: https://github.com/reloveution/dart-flutter-rules/tree/main/skills/flutter-internationalization
Command: npx skills add https://github.com/reloveution/dart-flutter-rules --skill flutter-internationalization-reloveution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill simplifies the process of making Flutter applications accessible to users worldwide by managing translations and locale-specific content.

Core Features & Use Cases

  • Setup gen-l10n: Guides through adding dependencies, configuring l10n.yaml, and creating ARB files for translations.
  • ARB Message Types: Demonstrates how to use placeholders, plurals, and selects for dynamic content.
  • Number & Date Formatting: Provides examples for locale-aware formatting of numbers and dates.
  • Use Case: You need to add Spanish and French language support to your existing Flutter app. This Skill will show you how to set up the localization files and integrate them into your MaterialApp.

Quick Start

Configure your Flutter app for internationalization by following the setup steps for gen-l10n.

Frequently Asked Questions about flutter-internationalization

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

FAQPage Schema
How do I set up Flutter localization using gen-l10n and ARB files?

To set up Flutter localization with gen-l10n, you add the intl package dependency, configure the l10n.yaml file, and create ARB files to manage translations for your application.

How do I format numbers and dates for specific locales in a Flutter app?

You format numbers and dates for specific locales in a Flutter app by utilizing the intl package, which provides runtime localization and locale-aware formatting capabilities.

Can I use placeholders and plurals for dynamic UI text in Flutter ARB files?

Yes, ARB files support various message types including placeholders, plurals, and selects, allowing you to manage dynamic content and internationalized UI text effectively in Flutter.

What do I need to configure multi-language support in a Flutter MaterialApp?

To configure multi-language support in a Flutter MaterialApp, you need the Flutter SDK and the intl package to integrate generated localization files into your application's widget tree.

Does Flutter gen-l10n require the intl package for runtime localization?

Yes, Flutter gen-l10n requires the intl package as a dependency to handle runtime localization and generate the necessary boilerplate code for managing multiple languages.

What is the best way to add Spanish and French language support to an existing Flutter app?

The best way to add Spanish and French language support is to create specific ARB files for each locale, configure l10n.yaml, and integrate the generated localization classes into your MaterialApp.