flutter-setup-localization
Configure Localization in Flutter Apps
Flutter localization setup requires coordinated dependency, generator, resource, and app configuration changes. This skill guides those changes with examples for strings, placeholders, plurals, and selects.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "flutter-setup-localization" from https://skillstore.io/skills/flutter-flutter-setup-localization.md and its manifest at https://skillstore.io/api/skills/flutter-flutter-setup-localization/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“flutter-setup-localization”。 Set up localization for English and Spanish.
预期结果:
- Added the required localization dependencies and enabled generation.
- Created the localization configuration and base resource files.
- Configured app delegates and supported locales.
正在使用“flutter-setup-localization”。 Add a notification count message with correct plural forms.
预期结果:
- Added a quantity-aware message with zero, one, and other forms.
- Declared the count placeholder and updated the widget call.
- Regenerated localization classes and checked for resource errors.
正在使用“flutter-setup-localization”。 Review an existing localization setup.
预期结果:
- Compared project configuration, resources, delegates, and generated imports.
- Corrected confirmed inconsistencies while preserving project conventions.
- Reported remaining translation and testing boundaries.
安全审计
安全No executable Ruby or shell backticks are present. The 45 command alerts are Markdown formatting; fixed Flutter CLI examples use no dynamic input. `super.key` is a Dart constructor parameter, not a certificate or key file reference.
风险因素
⚙️ 外部命令 (45)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/flutter-flutter-setup-localization/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/flutter-flutter-setup-localization?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/flutter-flutter-setup-localization?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/flutter-flutter-setup-localization/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/flutter-flutter-setup-localization.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
flutter. (2026). flutter-setup-localization security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flutter-flutter-setup-localization/audits/1BibTeX 引用
@techreport{flutter-flutter-flutter-setup-localization-2026,
author = {flutter},
title = {flutter-setup-localization security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/flutter-flutter-setup-localization/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "flutter-setup-localization security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "flutter"
date-released: "2026-09-08"
url: "https://skillstore.io/skills/flutter-flutter-setup-localization/audits/1"
identifiers:
- type: other
value: "skillstore:flutter-flutter-setup-localization:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Initialize a new application
Create the dependencies, configuration, base resources, delegates, and supported locales needed for a localized Flutter application.
Localize an existing interface
Move visible strings into ARB resources and connect generated localization accessors to existing widgets.
Build dynamic messages
Define typed placeholders, plural forms, and conditional selections for data-driven interface text.
试试这些提示
Set up Flutter localization in this project for English and Spanish. Use the existing project structure and summarize every changed file.
Add localized strings for [screen] in [locales]. Include descriptions, update every ARB file, generate classes, and report validation errors.
Create ARB messages for [feature] with typed placeholders and plurals. Update widgets to use generated localization methods and preserve existing naming conventions.
Review this Flutter localization setup for configuration, delegate, locale, ARB, placeholder, plural, and generated import problems. Fix verified issues and run validation.
最佳实践
- Add descriptive metadata so translators understand each string context.
- Keep placeholder names and types consistent across every locale resource.
- Run generation after resource changes and resolve all reported syntax errors.
避免
- Do not leave user-visible strings embedded directly in widgets.
- Do not change placeholder names between locale files.
- Do not assume generated import paths match every project configuration.