Skip to content
Back to skills

Localization

ASecurity

Standards for multi-language support using easy_localization and JSON/CSV assets.

  • 8 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 8, 2026
ai-agentsgo

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ngxtm/devkit --skill localization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Localization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Localization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ngxtm-localization/badge)](https://www.skillsdirectory.com/skills/ngxtm-localization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Flutter Localization
description: Standards for multi-language support using easy_localization and JSON/CSV assets.
metadata:
  labels: [localization, l10n, i18n, easy_localization]
  triggers:
    files: ['**/assets/translations/*.json', 'main.dart']
    keywords:
      [localization, multi-language, translation, tr(), easy_localization]
---

# Localization

## **Priority: P1 (STANDARD)**

Consistent multi-language support using `easy_localization`.

## Structure

```text
assets/
└── translations/
    ├── en.json
    └── vi.json
```

## Implementation Guidelines

- **Bootstrap**: Wrap root with `EasyLocalization`. Always use `await EasyLocalization.ensureInitialized()`.
- **Format**: Default to JSON. Store in `assets/translations/`.
- **Lookup**: Use `.tr()` extension on strings.
- **Locale**: Change via `context.setLocale(Locale('code'))`.
- **Params**: Use `{}` in JSON; pass via `tr(args: [...])`.
- **Counting**: Use `plural()` for quantities.
- **Sheets**: Sync via `sheet_loader_localization` from Google Sheets for Online file storage to JSON/CSV.

## Anti-Patterns

- **Hardcoding**: No raw strings in UI; use keys.
- **Manual L10n**: Avoid standard `Localizations.of`; use GetX or `easy_localization` context methods.
- **Desync**: Keep keys identical across all locale files.

## Reference & Examples

For setup and Google Sheets automation:
See [references/REFERENCE.md](references/REFERENCE.md).

## Related Topics

idiomatic-flutter | widgets

Files in this skill

  • SKILL.md1.5 KB
  • references/REFERENCE.md1 KB
  • references/sheet-loader.md1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.