अपने प्रश्न को पूछें और दस्तावेज़ का सारांश प्राप्त करें, इस पृष्ठ और आपके चुने हुए AI प्रदाता का उपयोग करके
संस्करण इतिहास
- "Init history"v9.0.013/6/2026
इस पृष्ठ की सामग्री एक AI द्वारा अनुवादित की गई है।
अंग्रेजी में मूल सामग्री के अंतिम संस्करण देखेंIf you have an idea for improving this documentation, please feel free to contribute by submitting a pull request on GitHub.
GitHub link to the documentationCopy doc Markdown to clipboard
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: