Plugins
i18next comes with a lot of modules to enhance the features available. There are modules to:
1
import i18next from 'i18next';
2
import Backend from 'i18next-http-backend';
3
import LanguageDetector from 'i18next-browser-languagedetector';
4
import sprintf from 'i18next-sprintf-postprocessor';
5
6
i18next
7
.use(Backend) // or any other backend implementation
8
.use(LanguageDetector) // or any other implementation
9
.use(sprintf) // or any other post processor
10
.init(options);
Copied!
For usage details please read the documentation of the plugin (readme file in the repository or npm website).
If you're not sure on why you may need such a plugin, have a look at the First setup help page.
Last modified 8mo ago
Copy link