Plugins
import i18next from 'i18next';
import Backend from 'i18next-http-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import sprintf from 'i18next-sprintf-postprocessor';
i18next
.use(Backend) // or any other backend implementation
.use(LanguageDetector) // or any other implementation
.use(sprintf) // or any other post processor
.init(options);
For usage details please read the documentation of the plugin (readme file in the repository or npm website).
Last modified 2yr ago