i18next-react-native-locale-detector

Detects the locale of a user's phone.

Usage no npm install needed!

<script type="module">
  import i18nextReactNativeLocaleDetector from 'https://cdn.skypack.dev/i18next-react-native-locale-detector';
</script>

README

i18next-react-native-locale-detector

Fork from react-native-locale-detector.

Installation

yarn i18next-react-native-locale-detector
react-native link i18next-react-native-locale-detector

Usage

import i18next from "i18next";
import i18nextReactNative from "i18next-react-native-language-detector";

i18next
  .use(i18nextReactNative)
  .init();