nylo-localization

nylo-localization is a skill for Claude Code from nylo-core/claude-code. It costs 62 tokens per session (2,914 once invoked), scanned A, original, MIT.

A set of instructions for adding and maintaining multiple languages in a Nylo version 7 Flutter application. Nylo is a framework for building Flutter apps.

In plain words
What is it for?
It helps create translation files, configure supported and default languages, translate displayed text, switch languages, and support right-to-left languages such as Arabic and Hebrew.
Why use it?
It provides the project locations and conventions for translations, helping prevent missing text or incorrect language switching.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the nylo-claude-code plugin — 21 skills, 3 agents shipped together

Good fit It helps create translation files, configure supported and default languages, translate displayed text, switch languages, and support right-to-left languages such as Arabic and Hebrew.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nylo-core/claude-code/nylo-localization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nylo-core/claude-code --skill nylo-localization
Clone the repo
git clone --depth 1 https://github.com/nylo-core/claude-code

Made for: Claude Code.

Or install nylo-claude-code, the plugin that ships this one along with the rest of its 21 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nylo-localization

README.md
[![agentmods](https://agentmods.dev/badge/skills/nylo-core/claude-code/nylo-localization/github.svg)](https://agentmods.dev/skills/nylo-core/claude-code/nylo-localization)
Your own site
<a href="https://agentmods.dev/skills/nylo-core/claude-code/nylo-localization"><img src="https://agentmods.dev/badge/skills/nylo-core/claude-code/nylo-localization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nylo-localization

Your own site · 80×15
<a href="https://agentmods.dev/skills/nylo-core/claude-code/nylo-localization"><img src="https://agentmods.dev/badge/skills/nylo-core/claude-code/nylo-localization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,914 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.02914
Opus 5.5 $0.00025 $0.01166
Sonnet 5.5 $0.00012 $0.00583
Haiku 4.5 $0.00006 $0.00291

Measured 3mo ago against content hash 60f5e8036aa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nylo-localization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/nylo-localization/SKILL.md · 397 lines

How it starts

The opening of the file, as written. The whole thing — 397 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nylo Localization

Overview

Nylo v7 provides a JSON-based localization system configured in lib/config/localization.dart. Translation files live in the lang/ directory, and strings are accessed throughout the app using the .tr() extension or the TextTr convenience widget.

When to Use

  • Adding multi-language (i18n) support to a Nylo project
  • Creating or editing JSON translation files
  • Displaying translated text with Text.tr, TextTr, or .tr()
  • Passing dynamic arguments into translated strings
  • Switching languages at runtime (programmatically or via LanguageSwitcher widget)
  • Configuring supported locales, default locale, or fallback locale
  • Handling right-to-left (RTL) languages like Arabic or Hebrew
  • Debugging missing translation keys
  • When NOT to use: For theming or styling text appearance unrelated to language, use nylo-themes instead

Quick Reference

Action Code / Location
Translation files directory lang/en.json, lang/es.json, etc.
Localization config lib/config/localization.dart
Set default locale DEFAULT_LOCALE=en in .env
Use device locale LOCALE_TYPE=device in .env
Debug missing keys DEBUG_TRANSLATIONS=true in .env
Translate a string "welcome".tr()
Translate with args "greeting".tr(arguments: {"name": "John"})
Translate nested key "navigation.home".tr()
TextTr widget TextTr("welcome")
TextTr with args TextTr("greeting", arguments: {"name": "John"})
Switch language (NyPage) changeLanguage('es')
Switch language (anywhere) await NyLocalization.instance.setLanguage(context, language: 'es')
Check if RTL LocalizationConfig.isRtl(languageCode)
Verify key exists NyLocalization.instance.hasTranslation("key")
Get all loaded keys NyLocalization.instance.getAllKeys()
Rebuild env after changes metro make:env --force

Project Setup

1. Create Language Files

Add JSON files to the lang/ directory at the project root. Each file is named by its locale code:

Read the full file on GitHub · 397 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 397 lines · 62 tokens per session scan A 60f5e8036aa0

Subscribe to this mod's changes

nylo-localization is a skill published in the GitHub repository nylo-core/claude-code (4 stars, last pushed 7mo ago), licensed MIT. It adds 62 tokens to every session and 2,914 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

nylo-localization compared with skills from other repositories

nylo-localization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nylo-localizationnylo-core/claude-codeSkill47mo agoMITA62Claude Code
inclusive-designevanca/flutter-ai-rulesSkill67719d agoMITA50Claude Code
flutter-internationalizationMADTeacher/mad-agents-skillsSkill1147mo agoMITA98Claude Code, Codex
fl-localizationphanbaohuy96/flutter_base_structureSkill10yesterdaynoneA20Claude Code, Codex
flutterpledgeandgrow/pledge-skillsSkill114mo agoMITA126Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.2ktodayMITA69Claude Code
hreflang-internationalnowork-studio/notfair-pluginSkill4.3k13d agoMITA213Claude Code