PlugWiki

flutter-setup-localization Skill for Claude: What It Does and How to Install It

Makes Claude set up translations in a Flutter app with flutter_localizations, intl, an l10n.yaml file and ARB files.

Installs
37.7K
on skills.sh
Stars
3.1K
on GitHub
Updated
Nov 2026
last repo commit

This is the Flutter team's localization skill. Claude adds the flutter_localizations and intl packages, turns on generate: true in pubspec.yaml, creates l10n.yaml and wires the delegates into MaterialApp.

Then it writes ARB files such as app_en.arb and app_es.arb and generates the AppLocalizations class. Placeholders, plurals and select strings are covered too.

Good for

  • Flutter developers starting localization on a new project
  • Teams adding a second language such as Spanish
  • Anyone needing plurals, placeholders or select strings in translations

Install flutter-setup-localization

Claude Code

  1. 1

    Copy this prompt.

    Install the flutter-setup-localization skill in Claude Code. Run this command:
    
    npx skills add https://github.com/flutter/agent-plugins --skill flutter-setup-localization
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

From its listing on skills.sh. Source.

What's in the skill

When it loads

Add `flutter_localizations` and `intl` dependencies, enable "generate true" in `pubspec.yaml`, and create an `l10n.yaml` configuration file. Use when initializing localization support for a new Flutter project.

Sections in SKILL.md

  1. Contents
  2. Core Concepts
  3. Setup Workflow
  4. 1. Add Dependencies
  5. 2. Enable Code Generation
  6. 3. Create Configuration File
  7. 4. Configure the App Entry Point
  8. Implementation Workflow
  9. 1. Define ARB Files
  10. 2. Generate Localization Classes
  11. 3. Consume Localized Strings
  12. Advanced Formatting
  13. Placeholders
  14. Plurals
  15. Selects
  16. Examples

Key facts

Installs on skills.sh
37,711 (Nov 2, 2026)
Last repo commit
Nov 1, 2026

What it includes

  • Runs flutter pub add for flutter_localizations and intl

    Adds both packages and checks that pubspec.yaml lists them.

    Try: “Setup localization and add English and Spanish translations.”

    Runs code · Add dependencies

  • Sets generate: true in pubspec.yaml

    Turns on the flutter generate flag so Flutter builds the localization classes.

    Write · Enable code generation

  • Points to lib/l10n and app_en.arb

    Sets arb-dir, template-arb-file, output-localization-file and synthetic-package.

    Write · Create l10n.yaml

  • Adds delegates and supported locales

    Imports the generated AppLocalizations and the flutter_localizations library, then sets them on MaterialApp or CupertinoApp.

    Write · Wire up MaterialApp

  • Adds strings to app_en.arb and other locales

    New strings go in the template file with a description. Edited strings are updated in every locale file.

    Write · Write ARB files

  • Runs flutter pub get to build AppLocalizations

    Checks the terminal for ARB syntax errors, fixes them and runs it again.

    Runs code · Generate classes

  • Placeholders, plurals and selects

    Placeholders are typed in metadata. Plurals need an other case. Selects handle conditional text such as gendered strings.

    Write · Advanced formatting

From the official docs

Permissions

Low risk

The skill edits pubspec.yaml, creates config and ARB files and runs flutter pub commands. Review the diff before you commit.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It edits pubspec.yaml and your app entry point

    Dependencies, the generate flag and the app delegates change. Review the diff before you commit. github.com

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyNo read-only mode. Use version control.
Talks toPackage downloads when flutter pub add and flutter pub get run
Sign-in and keysSKILL.md does not mention any account or key.
Scopes
  • Edits pubspec.yaml, l10n.yaml, ARB files and main.dart

  • Runs flutter pub add and flutter pub get

Questions

What does the flutter-setup-localization skill do?

It guides Claude through adding translations to a Flutter app. Claude sets up the packages, the config file, the ARB files and the generated AppLocalizations class.

How do I install flutter-setup-localization?

Use the install box at the top of this page. The skill is one SKILL.md file, so there is nothing else to download. Start a new session afterwards so it loads.

Does it translate my text?

The skill covers the setup and how to write ARB files. Its own example prompt asks Claude to add English and Spanish translations, so Claude writes the translated strings, and you should have someone check them.

Is it for new or existing projects?

Its description says to use it when initialising localization for a new Flutter project. It also has a workflow for adding or editing strings later.

Does it support plurals and placeholders?

Yes. It covers typed placeholders, plural strings (the other case is mandatory) and select strings.

Is flutter-setup-localization safe?

It edits pubspec.yaml and your app entry point, and runs flutter pub add and flutter pub get. Review the diff and keep the project under version control.

Does flutter-setup-localization work in Codex or Cursor?

The README does not list supported clients. It links to https://docs.flutter.dev/ai/get-started for installing the plugins in your preferred agent, so follow that guide for Codex or Cursor.

Information

updated Nov 2, 2026

Folder
skills/flutter-setup-localization

flutter/agent-pluginsskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 2
  1. flutter-setup-localization SKILL.md · github.com
  2. Flutter agent-plugins README · github.com

Updated Nov 2, 2026.