Intlayer React i18n
Simplifies React application internationalization through component-level content declarations and type-safe hooks.
Intlayer for React provides a specialized framework for managing translations directly alongside React components, replacing traditional monolithic locale files with localized content dictionaries. This skill enables Claude to automate the setup of i18n providers, generate type-safe content declarations in `*.content.ts` files, and implement the `useIntlayer` hook for seamless multi-language support. It is particularly effective for developers working with Vite, React Native, or React Router who require a scalable, type-safe approach to internationalization that supports AI-driven translation workflows.
主な機能
01Support for AI-powered translation and visual editing workflows
02End-to-end TypeScript support for type-safe translation keys
03Component-level content declaration for modular and maintainable i18n
04Integration with Vite, React Native, Expo, and Tanstack Start
05765 GitHub stars
06Specialized hooks like useIntlayer and useLocale for dynamic UI
ユースケース
01Configuring localized routing and locale switching in React Router v7
02Migrating hardcoded strings to component-specific Intlayer content declarations
03Initializing a multi-language React project with automated i18n provider setup