Skip to main content

poe2arb-workflow

Handle Flutter localization workflows backed by POEditor and poe2arb. Use when adding translations, syncing ARB files with POEditor, or when the user mentions poe2arb, POEditor, seed, or flutter gen-l10n.

来源信息

仓库
leancodepl/ai-plugins
最近来源活动
2026年5月30日 07:25
检测到的 SKILL.md 语言
英语
星标
2
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
poe2arb-workflow
description
Handle Flutter localization workflows backed by POEditor and poe2arb. Use when adding translations, syncing ARB files with POEditor, or when the user mentions poe2arb, POEditor, seed, or flutter gen-l10n.
# POEditor and poe2arb Workflow Keep the localization workflow aligned with the shared localization rules. ## What to keep true - Keep translations in package-specific `app_<language_code>.arb` files. - Never hardcode translations. - Use translations only in the presentation layer, inside widgets. - Access translations as `final s = l10n(context);` - If other layers need localized text, map message models to localized values in the presentation layer. ## Workflow when adding translations 1. Add the required translation to all relevant `app_<language_code>.arb` files. 2. Run `flutter gen-l10n`. 3. Run `poe2arb seed` to upload the added translation to POEditor. ## Output expectations - If asked to change translations, update the ARB files first. - Clearly say whether `flutter gen-l10n` and `poe2arb seed` were run or still need to be run.
在 GitHub 查看