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.

Informations de source

Dépôt
leancodepl/ai-plugins
Dernière activité de la source
30 mai 2026 à 07:25
Langue détectée de SKILL.md
anglais
Étoiles
2
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub