i18n
CommunityEasily manage React translations with i18n.
AuthorChenm4
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Managing translations and locale data across React components is error-prone and leads to duplicated keys and inconsistent UI text. This guide provides a standardized approach to i18n with react-i18next, ensuring consistent keys, namespaces, and workflow.
Core Features & Use Cases
- Standardized translation keys using flat dot notation for React components.
- Centralized locale files under src/locales/default and a consistent export workflow.
- Guidance for adding new languages, maintaining keys, and applying translations across components.
Quick Start
Add a new language namespace to src/locales/default, create dot-notation keys in the appropriate namespace, and run pnpm i18n to generate translations; use useTranslation('namespace') in components to fetch keys.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: i18n Download link: https://github.com/Chenm4/VoiceChatAssistant/archive/main.zip#i18n Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.