Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

About

Electron language detector for i18next.

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

Repository files navigation

Introduction

npm version dependencies peerDependencies downloads MIT License

This is an i18next language detection plugin which is used to determine user language in the Electron.js application by applying an app.getLocale() method.

Installation

Source can be loaded via npm.

# npm package
$ npm install i18next-electron-language-detector

Usage

import i18next from 'i18next'
import LanguageDetector from 'i18next-electron-language-detector';

i18next
  .use(LanguageDetector)
  .init()

Note: On Windows you have to call it after the ready events gets emitted.

About

Electron language detector for i18next.

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages