localisation
Skill5 starsChanged 8 days agoMITView on GitHub
On an app-dev-team project, use from the first user-visible string, or when a date, number, currency or layout could differ by region. Used by ux-architect, privacy-reviewer, qa-engineer and any IC writing strings.
In this repository25 other files it gives its agents.
- accessibility-gateSkill
- agent-isolationSkill
- architecture-builderSkill
- board-doctorSkill
- brownfield-onboardingSkill
- business-modelSkill
- content-designSkill
- context-preflightSkill
- database-migrationSkill
- defect-huntingSkill
- dependency-policySkill
- design-systemSkill
- house-conventionsSkill
- ic-workflowSkill
- intent-traceSkill
- mutation-testingSkill
- parallel-orchestratorSkill
- performance-reviewSkill
- prd-builderSkill
- requirements-intakeSkill
- role-activationSkill
- runtime-gateSkill
- spec-criticSkill
- sprint-plannerSkill
- team-protocolSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Every user-visible string is a key in the catalogue: No string literal in a view, ever.
- Distinctive: line 24
Never sort or compare user-facing text with byte comparison: Use the locale-aware collator.
- Distinctive: line 29
RTL is a layout mode, not a translation: Use leading/trailing, never left/right.
- Distinctive: line 32
Test at the longest supported locale and the largest Dynamic Type together — that combination is where clipping actually happens.
≈ “Common” is an estimate: at least 1 in 5 of the 383,637 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Localisation
Localisation is an architecture decision taken at the first string, and a translation task only at the end. Teams that reverse the order pay for it twice.
Where a platform skill exists, use it: axiom:axiom-localization on Apple platforms. External and
optional — missing → follow this file, never file its absence as a defect.
Do this from the first ticket, in every locale count including one
- Every user-visible string is a key in the catalogue. No string literal in a view, ever. This is cheap now and a full re-read of the codebase later.
- Never concatenate a sentence from fragments. Word order differs by language. Use one parameterised string per sentence.
- Plurals use the platform's plural rules, not
if count == 1. Several languages have more than two plural forms and1 itemsis the cheapest possible way to look unfinished. - Dates, times, numbers, currencies and units go through the locale-aware formatter. A hand-formatted date is wrong in most of the world, silently.
- Never sort or compare user-facing text with byte comparison. Use the locale-aware collator.
Layout
- Assume text grows 30–40% from English. A button that fits exactly is a button that clips.
- RTL is a layout mode, not a translation. Use leading/trailing, never left/right; mirror directional icons (back, next, progress) and never mirror ones with real-world orientation (a clock, a logo, a play button).
- Test at the longest supported locale and the largest Dynamic Type together — that combination is where clipping actually happens.
Region is not language
Region determines: currency and price tier, legal and privacy obligation (privacy-reviewer),
store metadata and rating, available payment methods, and sometimes whether a feature may ship at
all. A locale added to the catalogue is a market entered. Say so explicitly rather than letting
a translation file imply it.
Output
The locale set and its consequences are stated in docs/12-flows.md (navigation and layout impact)
and in docs/15-aso.md (store metadata per locale). Pseudo-localise before you have translations —
it finds hardcoded strings and clipping without waiting for a translator.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

