I18n
Skill NSBen/skillfoundry/src/skillfoundry/data/starter_skills/i18n
🔥 SkillFoundry (forge) — open, vendor-neutral toolchain for authoring, validating, testing & publishing AI agent skills. Works across Claude Code / Cursor / Codex / OpenCode / Cline. Ships 15 starter skills.
npx -y skills add NSBen/skillfoundry --skill i18nAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 13 days oldThe repository was created 13 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when an app needs localization and you must extract user-facing strings and scaffold translation files without breaking existing copy.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.2 KB, as published. Nobody here has run it
Internationalization (i18n)
When to use
Use this skill when adding a new language, introducing a framework's i18n library, or centralizing hard-coded copy.
Steps
- Find user-facing strings: JSX text, template literals, alert/button labels.
- Replace them with translation calls (e.g.
t('key')) using stable, namespaced keys. - Generate or update locale JSON files, keeping keys consistent across languages.
- Handle plurals, interpolation, and date/number formatting via the library.
- Verify no string is left hard-coded and that the fallback locale renders.
Examples
- "Make this React app translatable"
- "Extract strings into locale/en.json"
References
Keys should be semantic ("settings.title"), not the English text; never concatenate translated fragments in a way that breaks word order.