translate
Skill15 starsChanged 9 months agoMITView on GitHub
Manages translation files for react-i18next. Adds/removes keys across 15 languages, keeps files sorted, enforces fixed-word rules, and verifies sync with en.json.
54 other projects use a version of this.
Adopted by
Most recently taken up by
- web-dahuyou/NiceTabtheir own version, first seen Nov 29, 2026
- tldraw/tldrawtheir own version, first seen Nov 29, 2026
- cleura/skillstheir own version, first seen Nov 29, 2026
- docdrue/claude-skillstheir own version, first seen Nov 29, 2026
- BlockLune/skillstheir own version, first seen Nov 29, 2026
- crbnos/carbontheir own version, first seen Nov 29, 2026
Used with
Projects with it also use faq, summarize and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillfaq
Turn repeat questions into a pinned FAQ. Use when a champion keeps answering the same questions.
Also in 3 projects that use this
mitsuhikoSkillsummarize
Fetch a URL or convert a local file (PDF/DOCX/HTML/etc.) into Markdown using `uvx markitdown`, optionally it can summarize
Also in 8 projects that use this
jacobraskSkillcalendar
Interact with Apple Calendar via AppleScript. Use when the user asks to check calendar, view events, create events, manage schedule, find free time, or list calendars. Triggers include "my calendar", "my schedule", "calendar events", "create event", "add to calendar", "what's on my calendar", "free time", "available slots", "upcoming events", "today's events". Requires macOS with Calendar.app.
Also in 3 projects that use this
AnthropicSkillanalyze
Answer data questions -- from quick lookups to full analyses. Use when looking up a single metric, investigating what's driving a trend or drop, comparing segments over time, or preparing a formal data report for stakeholders.
Also in 4 projects that use this
sunnyclinches44Skillexplain
Explains code using real-world analogies and ASCII diagrams
Also in 5 projects that use this
MicrosoftSkillweb-search
Also in 3 projects that use this
- +2 more from anthropics
Other versions54 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 54
- makeplane/plane★ 63ksame name
- tldraw/tldraw★ 52ksame name
- MODSetter/SurfSense★ 17ksame name
- formatjs/formatjs★ 15ksame name
- nexmoe/VidBee★ 11ksame name
- elie222/rakazo★ 10ksame name
- thewh1teagle/vibe★ 8.3ksame name
- tagspaces/tagspaces★ 5.4ksame name
- crbnos/carbon★ 2.9ksame name
- borgbase/vorta★ 2.5ksame name
44 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- auto-voting-relayersSkill
- create-vechain-dappSkill
- frontendSkill
- grill-meSkill
- indexer-coreSkill
- monkeySkill
- secure-github-actionsSkill
- smart-contract-developmentSkill
- stargateSkill
- thorSkill
- vebetterdao-navigatorsSkill
- vebetterdaoSkill
- vechain-coreSkill
- vechain-kitSkill
- vechain-react-native-devSkill
- x-2-earn-appsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 9 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Add the new key to en.json with the English value
- Distinctive: line 22
Add the same key to ALL other language files with the correct translation for the language of the file
- Distinctive: line 23
After adding to all files, sort ALL translation files alphabetically by key (case-insensitive)
- Distinctive: line 27
Remove the key from ALL 15 language files
- Distinctive: line 32
All translation JSON files MUST have keys sorted alphabetically (case-insensitive)
- Distinctive: line 34
After any modification, verify keys are sorted
- Distinctive: line 43
Write back with 2-space indentation and trailing newline
- Very specific: line 45
Use a Node.js script or jq to sort.
- Distinctive: line 64
After any translation change, verify:
- Very specific: line 67
All non-English files have the EXACT same keys as en.json
- Distinctive: line 70
All files are sorted alphabetically by key
- Distinctive: line 81
When translating, ALWAYS check this file first.
- Very specific: line 85
If the app uses @vechain/vechain-kit, keep Kit UI language in sync with the host app:
- Very specific: line 94
Unused keys in en.json: Run a script that finds keys in en.json never used in code (t("..."), i18nKey="...") and exit non-zero so …
- Very specific: line 95
Missing keys in other locales: Run a script that compares each locale's keys to en.json and fails if any locale has missing or extra keys.
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Translate Skill
Manages translation files in apps/frontend/src/i18n/languages/.
Translation Files
- 15 languages: en (source), de, es, fr, hi, it, ja, ko, nl, pt, sv, tr, tw, vi, zh
- Format: flat JSON key-value pairs (keys = English phrases)
- Interpolation:
{{variableName}} - Library:
react-i18nextconfigured inapps/frontend/src/i18n/index.tsx - Language list defined in
apps/frontend/src/i18n/index.tsx(languagesarray)
When Adding New Translation Keys
- Add the new key to
en.jsonwith the English value - Add the same key to ALL other language files with the correct translation for the language of the file
- After adding to all files, sort ALL translation files alphabetically by key (case-insensitive)
When Removing Translation Keys
- Remove the key from ALL 15 language files
- Files should remain sorted after removal
Sorting Rules
- All translation JSON files MUST have keys sorted alphabetically (case-insensitive)
- Sorting applies to ALL language files, not just
en.json - After any modification, verify keys are sorted
Sort Procedure
For each .json file in apps/frontend/src/i18n/languages/:
- Parse the JSON
- Get all keys and sort them case-insensitively
- Rebuild the object with sorted keys
- Write back with 2-space indentation and trailing newline
Use a Node.js script or jq to sort. Example with Node.js:
node -e "
const fs = require('fs');
const glob = require('glob');
const files = glob.sync('apps/frontend/src/i18n/languages/*.json');
files.forEach(f => {
const obj = JSON.parse(fs.readFileSync(f, 'utf8'));
const sorted = Object.keys(obj)
.sort((a, b) => a.localeCompare(b, undefined, { sensitivity: 'base' }))
.reduce((acc, key) => { acc[key] = obj[key]; return acc; }, {});
fs.writeFileSync(f, JSON.stringify(sorted, null, 2) + '\n');
});
"Sync Check
After any translation change, verify:
en.jsonhas all keys that exist in code (search fort("...") usage)- All non-English files have the EXACT same keys as
en.json - Missing keys in non-English files get the correct translation for the language of the file
- Extra keys in non-English files (not in
en.json) should be removed - All files are sorted alphabetically by key
Fixed Words
See apps/frontend/src/i18n/fixedWords.json. Grouped by language code ("all" applies to every language).
Two use cases:
- Untranslated words — value equals the English word (e.g.
"round": "round"keeps "round" in English for Italian) - Fixed translations — value is the mandatory translation for that concept (e.g.
"endorsement": "supporto"means always use "supporto" for endorsement in Italian)
When translating, ALWAYS check this file first. If a word has a fixed translation for the target language, use it consistently in every sentence.
VeChain Kit: bi-directional language sync
If the app uses @vechain/vechain-kit, keep Kit UI language in sync with the host app:
- App → Kit: Inside
VeChainKitProvider, subscribe toi18n.on("languageChanged", ...)and callsetLanguage(lng)fromuseCurrentLanguage()so when the user changes language in the app (e.g. footer selector), Kit updates. - Kit → App: Pass
language={i18n.language}andonLanguageChange={(lng) => i18n.changeLanguage(lng)}intoVeChainKitProviderso when the user changes language in Kit (e.g. wallet modal), the app updates.
See the vechain-kit skill reference translations-vechain-kit.md for the full implementation pattern.
Pre-commit and ESLint (missing / unused keys)
- Unused keys in en.json: Run a script that finds keys in
en.jsonnever used in code (t("..."),i18nKey="...") and exit non-zero so pre-commit fails. Run whenen.jsonor code is staged. - Missing keys in other locales: Run a script that compares each locale's keys to
en.jsonand fails if any locale has missing or extra keys. Run when any translation file is staged or in CI. - ESLint: Optionally add
eslint-plugin-i18next(or similar) to flag missing keys in the editor/lint.
See the vechain-kit skill reference translations-vechain-kit.md for a short summary table.
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.

