jiti-meet/react/features/base/i18n/languageDetector.native.js

25 lines
412 B
JavaScript
Raw Normal View History

2017-03-01 02:55:12 +00:00
/* @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'
};