LobeHub i18n with react-i18next. Use for user-facing strings, locale keys, namespaces, useTranslation, t(), interpolation, zh-CN/en-US previews, hardcoded UI…
LobeHub Internationalization Guide
Default language: English (en-US)
Framework: react-i18next
Only edit files in packages/locales/src/default/ - Never edit JSON files in locales/ (except hand-written en-US/zh-CN previews)
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': '已连接',
};don't have the plugin yet? install it then click "run inline in claude" again.