i18next-electron-language-detector
Version:
Electron language detector for i18next
17 lines (14 loc) • 381 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
var _electron = require('electron');
exports.default = {
'init': Function.prototype,
'type': 'languageDetector',
'detect': function detect() {
return (_electron.app || _electron.remote.app).getLocale();
},
'cacheUserLanguage': Function.prototype
};
module.exports = exports['default'];