123456789101112131415161718192021222324 |
- /* @flow */
-
- import locale from 'react-native-locale-detector';
-
- /**
- * The singleton language detector for React Native which uses the system-wide
- * locale.
- */
- export default {
- /**
- * Does not support caching.
- *
- * @returns {void}
- */
- cacheUserLanguage: Function.prototype,
-
- detect() {
- return locale;
- },
-
- init: Function.prototype,
-
- type: 'languageDetector'
- };
|