localization
Skill by fmbot-discord
Provides localization rules for the fmbot Discord bot codebase. It guides developers and AI agents on adding user-facing strings, editing locale JSON files, writing translations, and updating slash command descriptions.
Install localization
Built from the published package, never by AI.
git clone --depth 1 https://github.com/fmbot-discord/fmbot /tmp/fmbot && mkdir -p ~/.claude/skills && cp -r /tmp/fmbot/.claude/skills/localization ~/.claude/skills/localizationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/fmbot-discord/fmbot /tmp/fmbot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/fmbot/.claude/skills/localization ~/.gemini/antigravity-cli/skills/localizationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Localization is an agent skill that holds the localization rules for the fmbot codebase, a Discord bot. It covers how user-facing strings are added and changed, including the Localize and LocalizeCount API, flat i18next JSON key and plural conventions, protected terms that stay in English, and a list of strings that must never be localized, such as log messages, SQL, custom ids and cache keys.
Translations are managed in Weblate, but en.json is code-owned and any new English key must be seeded into the other 11 locale files in the same change. Slash command descriptions live in separate locale files that need manual updates in every translated locale, since no test catches drift there. The skill is aimed at developers and AI agents working in the fmbot repository, and it says to run the LocalizationTests suite after changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Localize APIExplains how to call Localize and LocalizeCount in builders and handlers, with string-only interpolation arguments.
- Key and file conventionsSets flat dotted camelCase key naming and the layout of the Resources/Locales JSON files.
- Plural handlingDescribes _one and _other keys, plus _few and _many for Polish, and which plural forms each language needs.
- Protected termsLists terms such as command names, WhoKnows, scrobble and Last.fm that stay verbatim in every language.
- Never-localize listLists strings that must stay in English, including log messages, SQL, custom ids and autocomplete values.
- Per-language styleGives translation style rules, including informal address and specific notes for Dutch and German.
- Slash command descriptionsExplains how to update the 11 translated slash command locale files and keep descriptions under 100 characters.
- Period aliasesExplains that localized period input is code-owned in PeriodAliases.cs and must round-trip to its label.
What you need
- The fmbot repository with src/FMBot.Bot and src/FMBot.Tests
- A .NET SDK to run dotnet test
- Access to the Weblate project for translation work
Try asking
- Add a new user-facing string to fmbot with Localize and seed all locale files.
- Translate this new en.json key into German and Polish using the style rules.
- Update this slash command parameter description in all 11 locale files.
Good to know
- en.json changes go through pull requests only; other locales are Weblate-owned.
- No automated test checks translated slash command description files for drift.
- Only Discord-supported locale codes are allowed.
- Rules are specific to the fmbot codebase and its file layout.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/localization/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to localization
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
localization: common questions
Can I add a new English localization key without touching other locales?
No. A new en.json key must be seeded into all 11 other locale files in the same change, or the EveryEnglishKeyExistsInEveryLocale test fails.
Are slash command names translated in fmbot?
No. Command names stay identical in every locale, and the slash command locale files must not contain name keys, which the test suite checks.
How do I verify localization changes in fmbot?
Run dotnet test on src/FMBot.Tests/FMBot.Tests.csproj. The LocalizationTests check key completeness, placeholders, plural rules and the no-name-keys guard.
How do I install localization?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is localization free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is localization safe to use?
It scores 71 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to localization?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
