{"repo":"zoontek/react-native-localize","free":true,"listed":false,"github":"https://github.com/zoontek/react-native-localize","clone":"git clone https://github.com/zoontek/react-native-localize.git","description":"🌍 A toolbox for your React Native app localization","language":"TypeScript","stars":2443,"topics":["react-native","globalization","internationalization","i18n","language-detection","ios","android"],"license":"MIT","category":"mobile-apps","readme_excerpt":"🌍 react-native-localize A toolbox for your React Native app localization. Support This library follows the React Native releases support policy. It is supporting the latest version , and the two previous minor series . Setup Don't forget to run pod install after that ! iOS List your supported locales under CFBundleLocalizations in ios/YourApp/Info.plist : Android Set android:localeConfig on the element in android/app/src/main/AndroidManifest.xml : Then list your supported locales in android/app/src/main/res/xml/locale config.xml : Expo Specify the supported locales in your app.json or app.config.js using the config plugin. Dynamic configuration (app.config.js, app.config.ts) Static configuration (app.json) Basic usage example API getCalendar() Returns the user preferred calendar format. Method type Usage example --- getCountry() Returns the user current country code (based on its device locale, not on its position). Method type Usage example Note Devices using Latin American regional settings will return \"UN\" instead of \"419\", as the latter is not a standard country code. --- getCurrencies() Returns the user preferred currency codes, in order. Method type Usage example --- getLocales() Returns the user preferred locales, in order. Method type Usage example --- getNumberFormatSettings() Returns number formatting settings. Method type Usage example --- getTemperatureUnit() Returns the user preferred temperature unit. Method type Usage example --- getTimeZone() Returns the user","default_branch":null,"files":null,"tree":[],"storefront":"/r/zoontek","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zoontek/react-native-localize/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}