React Native Multi Language App Using i18next
HTML-код
- Опубликовано: 5 окт 2024
- In this video I will show you how you make a multi language app in react native and for that we will use two packages i18next and react-i18next.
----------------------------------------------------------------------------------------
Source code: github.com/Ind...
Please LIKE and SUBSCRIBE for more content and supporting!
#reactnative
Really nice, thank you! I will try this with some 'asyncstorage' to persist the language chosen.
OMG THANK YOU SO MUCH YOU HELPED ME !!!! IVE BEEN STUCK ON THIS PROBLEM FOR 2 HOURS
Thanks from Türkiye
but how about dynamic data?
You absolute legend.
Where should we use AsyncStorge to store the selected language?
so good but when app close its could be default settings .. we have to do using redux with langs.
If you dont want it turns back to default language you could store the selected language using Asyncstorage
But what about the response that we are getting from the backend apis ?
thanks bro it helping a lot, how can we do it for right to left languages
It will be same
You saved my day!
Thanks from chennnai
thanks for make this video
can it automatically use same language that set in device system?
Hay alguna forma distinta por si son ya muchas vistas? una app ya grande y con muchos textos
is it necessary to create the locales directory on the root?
I've followed the steps, but then instead of the values, i get whatever key i pass to {t('my_key')} as the value. Any idea?
Sometimes i get the error : "react-i18next:: you will need to pass in an i18next instance by using initReactI18next", but i did the same as you...
In App.js try to import the i18next from services/i18next.js
I had the same issue. For me it was a mispronouncing word in the i18next.js
Hi @@index-zero , Im having same issue as this mate, after importing into the App.tsx fille what do you next?
I had the same problem. I solved it by changing the import in App.tsx from import i18next from "./services/i18next"; to import "./services/i18next";
Hadak Allah