/i18n:ui-stringsfrom i18n
Route every user-facing UI string through the project's localization system instead of hardcoding it. Activate whenever writing or editing display text a user will see — labels, buttons, messages, errors, toasts, placeholders, empty states, flavor copy — in any project and any stack. Do NOT use for text a user never reads: log lines, internal error codes, test fixtures, code identifiers, enum keys, slugs, or proper-noun/canonical identifiers (those stay as plain data).
Ships in i18n. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
In: a human-readable string a user will see, about to be introduced or edited in a component, page, or template.
Out: the string lives in the project's localization mechanism — an existing i18n catalog/namespace, a Salesforce Custom Label, or a proposed constants module — and is referenced through that API, never hardcoded; identifiers and proper nouns stay as plain data. This IS the acceptance criteria for the change.
Before hardcoding a string literal, find where strings belong and put it there.
Salesforce project (sfdx-project.json, .cls, LWC bundles, force-app/) → this is the EXCEPTION: do not add a JS i18n library. Use Custom Labels — System.Label.MyLabel (Apex) / import LABEL from '@salesforce/label/c.MyLabel' (LWC). Follow the org's existing label convention.
Existing i18n in the repo — detect via dependencies, config, and locale folders:
i18next/react-i18next, vue-i18n, next-intl/next-i18next, react-intl/FormatJS, @angular/localize, svelte-i18n, linguilocales/, i18n/, *.json message catalogs, *.po/.pot (gettext), *.arb (Flutter), *.strings/.xcstrings (iOS), strings.xml (Android), config/locales/*.yml (Rails)Known framework, no i18n wired yet → follow that framework's idiomatic i18n approach. Add the minimal setup and mention it to the user rather than scattering literals.
Can't tell / ambiguous → ask the user: "Does this project have localization, and where are UI strings stored?" Don't guess and hardcode.
Nothing exists and none is wanted → propose, don't silently hardcode:
i18next for plain JS/TS).
Pick the lighter option for prototypes; centralize either way.Translate prose (sentences, labels, descriptions). Keep as plain data:
Resolve prose by id from the catalog (e.g. t('characters.' + id + '.role')) while the id/name stay in code/data.
grep -nE ">[A-Z][a-z].*<|=\"[A-Z][a-z][^\"]+\"" <files> — and read each hit: prose a user
reads must go through the i18n API, not sit as a literal.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aquivalabs/bladeforge --plugin i18n