0

i see example page How to use i18next? Problems with translations

but after this code, i have in console error: Uncaught ReferenceError: i18n is not defined

WHY??? Where can I download i18next.js to convert html page?

Community
  • 1
  • 1

2 Answers2

1

From the official site: there are two possibilities: to install it with npm from repository, or

https://github.com/i18next/i18next/blob/master/i18next.min.js

John_West
  • 2,239
  • 4
  • 24
  • 44
0

In version 2.x of the library, i18n has been replaced by i18next and the API has changed considerably.

AsGoodAsItGets
  • 2,886
  • 34
  • 49