Flutter Setup Localization
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.
- Type
- Skill
- Author
- flutter
- Category
- Frontend
- GitHub stars
- 3.1K
- Installs
- 36.9K
- Last updated
- November 1, 2026
Install
npx skills add https://github.com/flutter/agent-plugins --skill flutter-setup-localizationUse cases
- Initialize localization support for a new Flutter project targeting multiple locales.
- Add flutter_localizations and intl dependencies to an existing pubspec.yaml.
- Create an l10n.yaml configuration file and enable code generation for translations.
Frequently Asked Questions
What files does this skill change in my Flutter project?
It edits pubspec.yaml to add the dependencies and enable generate, and it creates an l10n.yaml configuration file.
Which dependencies does it add?
It adds flutter_localizations and intl.
When should I run this setup?
Use it when initializing localization support for a new Flutter project, before adding translated strings.
About this skill
Sets up Flutter localization by adding flutter_localizations and intl dependencies, enabling generate in pubspec.yaml, and creating an l10n.yaml configuration file. Use when initializing localization support for a new Flutter project. Fits into early project setup for apps targeting multiple locales.
Summary written with AI assistance from the project's public description.
Categories
More from flutter
Flutter Apply Architecture Best Practices
Architects a Flutter application using the recommended layered approach (UI, Logic, Data). Use when structuring a new project or refactoring for sc...
by flutter
Flutter Build Responsive Layout
Use `LayoutBuilder`, `MediaQuery`, or `Expanded/Flexible` to create a layout that adapts to different screen sizes. Use when you need the UI to loo...
by flutter
Flutter Fix Layout Issues
Fixes Flutter layout errors (overflows, unbounded constraints) using Dart and Flutter MCP tools. Use when addressing "RenderFlex overflowed", "Vert...
by flutter
Flutter Add Widget Test
Implement a component-level test using `WidgetTester` to verify UI rendering and user interactions (tapping, scrolling, entering text). Use when va...
by flutter
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh