
Description
flutter-setup-localization is an agent skill for adding internationalization and localization to a Flutter app. Flutter handles this through the flutter_localizations and intl packages. The skill sets up the standard approach, which defines the translated strings in App Resource Bundle files, called ARB files, and compiles them into a generated AppLocalizations class that the widgets use in a type-safe way. The setup workflow is a checklist: add the flutter_localizations and intl dependencies, enable the generate option in pubspec.yaml, and create an l10n.yaml configuration file. After that come an implementation workflow and an advanced formatting section. The skill includes examples. It is part of Flutter's agent-plugins repository and is added to a compatible agent with the skills command. Its scope is the setup of localization in a project, so it is most useful at the start of a new app or when an existing app is first being translated. The skill passed the Gen Agent Trust Hub, Socket and Snyk checks, according to the listing.…
Highlights
- Sets up flutter_localizations and intl
- ARB files compiled to AppLocalizations
- Checklist for pubspec.yaml and l10n.yaml
- Advanced formatting examples
Ratings & Reviews
No ratings yet
Be the first to rate flutter-setup-localization.
People also visit

dart-flutter-patterns
Production-ready Dart and Flutter patterns covering null safety

flutter-dart-code-review
Library-agnostic Flutter/Dart code review checklist covering widget best

flutter-implement-json-serialization
Create model classes with `fromJson` and `toJson` methods using `dart:convert`

flutter-add-widget-preview
Adds interactive widget previews to the project using the previews.dart system

flutter-apply-architecture-best-practices
Architects a Flutter application using the recommended layered approach
flutter-setup-localization FAQ
What does this skill set up?
Internationalization and localization in a Flutter app, using the flutter_localizations and intl packages.
How are strings stored?
In App Resource Bundle (ARB) files, which Flutter compiles into a generated AppLocalizations class for type-safe access.
What are the setup steps?
Add the flutter_localizations and intl dependencies, enable generate in pubspec.yaml, and create an l10n.yaml file.
Does it cover more complex formatting?
Yes, there is an advanced formatting section.
How do I install it?
Run: npx skills add https://github.com/flutter/agent-plugins --skill flutter-setup-localization
What security audits has it passed?
Gen Agent Trust Hub, Socket and Snyk all passed.
What are the best flutter-setup-localization alternatives?
Popular alternatives to flutter-setup-localization include dart-flutter-patterns, flutter-dart-code-review and flutter-implement-json-serialization. See all flutter-setup-localization alternatives






