Created a react-i8next (i18n.js) file to handle the configurations
Converted App.js to align and use react-i18next and replaced all react-intl instances
Current Blocker
Despite installing the required dependencies (i18next, react-i18next, i18next-browser-languagedetector), I am encountering:
Uncaught Error: Cannot find module ‘i18next-browser-languagedetector’
and this results into nothing being displayed on the browser
The error persists even after verifying the package is installed (npm list confirms it exists in node_modules).
interesting news @Lemeri123 , thanks. For the error your are encountering, sharing details on the error, ie. screenshots can be helpful in trouble shooting
@Lemeri123 A couple of days I checked about this and I thought we had created an issue about it, am glad its up now
I’m hoping that our import is something like import LanguageDetector from 'i18next-browser-languagedetector';
otherwise are we able to have the logs for the error ?
This issue you’re facing is because the frontend is running inside docker and inside docker you latest package.json doesn’t goes in!
You have to manually build the frontend IMAGE locally first and use that image as a container, and after that, only you will be able to test i18-lang-interpretor!