Quantcast
Channel: react-i18next not loading json translation files in React app created with create-react-app - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by theRealEmu for react-i18next not loading json translation files in...

Just in case anyone needs this like I did:If you happen to have changed your homepage path in your package.json file like so:..."homepage": "/tom/",...you also need to add this part to i18n like...

View Article



Answer by Dan Abramov for react-i18next not loading json translation files in...

I'm not sure where you put the locale files, but I see two issues:You have specified a relative URL so you load /kiosk/parents/locales rather than /locales. You need to add a slash at the beginning of...

View Article

Image may be NSFW.
Clik here to view.

react-i18next not loading json translation files in React app created with...

I've created a React application with create-react-appI want to implement translations and I've discovered react-i18nextAfter installing required packages I've setup my i18n.js config file:import i18n...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images