이 페이지와 원하는 AI 어시스턴트를 사용하여 문서를 요약합니다
버전 기록
- "Init history"v9.0.02026. 6. 13.
이 페이지의 콘텐츠는 AI를 사용하여 번역되었습니다.
영어 원본 내용의 최신 버전을 보기이 문서를 개선할 아이디어가 있으시면 GitHub에 풀 리퀘스트를 제출하여 자유롭게 기여해 주세요.
문서에 대한 GitHub 링크문서의 Markdown을 클립보드에 복사
Intlayer Compat Adapters
Migrating a large application to a new internationalization library can be daunting. To ease this transition, Intlayer provides compat adapters for the most popular i18n libraries in the ecosystem.
These adapter packages expose the exact same public API as your existing i18n libraries, but delegate all translation work to Intlayer at runtime.
How it works
When you use a compat adapter, you do not need to rewrite your application's imports or change how you use your translation hooks and components. Instead, Intlayer's bundler plugins automatically alias your existing imports to the Intlayer compat packages.
For example, a developer replaces import { useTranslation } from 'react-i18next' with import { useTranslation } from '@intlayer/react-i18next' (done automatically via the bundler plugin), and the app keeps working with translations now served from Intlayer dictionaries. Keys are also typed against your Intlayer dictionaries!
Available Compat Adapters
Choose your existing library below to see how to migrate seamlessly: