Skip to content

i18n

Use for user-facing strings and react-i18next locale keys, namespaces, interpolation, translations or bun run i18n.

— (0 ratings) 4.8K downloads lobehub
$ npx skills add https://github.com/lobehub/lobehub --skill i18n

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

LobeHub Internationalization Guide

  • Default language: English (en-US)
  • Framework: react-i18next
  • Only edit files in packages/locales/src/default/ - Never hand-write translations in locales/ JSON (except en-US/zh-CN previews); generated locales change only through lobe-i18n, plus the key deletions described in Changing an existing key's English text
  • Leave generated locales to the daily auto-i18n.yml workflow by default; run bun run i18n manually only when they are needed immediately

Key Naming Convention

Flat keys with dot notation (not nested objects):

// ✅ Correct
export default {
  'alert.cloud.action': '立即体验',
  'sync.actions.sync': '立即同步',
  'sync.status.ready': '已连接',
};

Installs: 4.8K | GitHub stars: 86.2K | First seen: Jan 24, 2026

Related skills

New

React

vercel-react-best-practices

React and Next.js performance optimization across 70 rules prioritized by impact.

New • 942.7K
New

Coding & dev tools

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up

New • 583.3K
New

Frontend

vercel-composition-patterns

React composition patterns for scaling components and avoiding boolean prop proliferation.

New • 479.3K