A caching layer backend for i18next that loads and caches translation resources from React Native's AsyncStorage. Version 1.0.2, last updated in 2019. Typically used in combination with the i18next Chained Backend to provide a primary cache with a fallback loader. Requires @react-native-community/async-storage as a peer dependency, which is deprecated in favor of @react-native-async-storage/async-storage. Minimal API surface; configuration via prefix, expiration time, and version objects.
npm install i18next-async-storage-backendNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic setup with i18next Chained Backend using AsyncStorage as primary cache and XHR as fallback
Replace with @react-native-async-storage/async-storage and possibly patch the package to avoid peer warnings
Use `import AsyncStorageBackend from 'i18next-async-storage-backend'`
Use with i18next v22 or consider an alternative like i18next-localstorage-backend
Add a .d.ts file or use @types/i18next-async-storage-backend if available
npm install @react-native-async-storage/async-storage
Change import to: import AsyncStorageBackend from 'i18next-async-storage-backend'
Ensure i18next.use(Backend) is called before init and backends array includes AsyncStorageBackend and fallback