Mathieu Acthernoene
Mathieu Acthernoene
@mekaVR You need to link the module, as explained in the documentation
You can't use this module with Expo (except with Expokit) You have https://docs.expo.io/versions/latest/sdk/localization/ to get the device current locale
Guys, Expo does not handle native packages (except if you are using expokit) Just use https://docs.expo.io/versions/latest/sdk/util.html to get the device language and i18n-js directly. You will have exactly the same...
@mnapoli As this package only implement https://github.com/fnando/i18n-js, maybe we should just add a link to the lib documentation instead of copy it in the `README`?
@udarts Not really. This library doesn't handle navigation.
@SemperChen Did you try using the provided mock? https://github.com/AlexanderZaytsev/react-native-i18n/blob/master/example/src/__mocks__/react-native-i18n.js
This library is just a small layer over https://www.npmjs.com/package/@types/i18n-js You might want to use them directly
@wyc777 This is not the purpose of this library, this is the purpose of https://github.com/react-community/react-native-languages and of the PR I made: https://github.com/facebook/react-native/pull/14568 (unfortunatelly not merged) Please consider using this instead...
@vahutson I'm not sure this is a requestable permission? I can't find any documentation about it on https://developer.apple.com/documentation/
@fernandesrenan Not really: > I see this question has been asked on the forums already, and there is no API.