I’m new to React Native and I’m trying to add translation in my navigation. In any other page it goes fine but not in my navigation. My i18n.js My StackNavigators.js What I’m trying to do is to add translation in BottomTabBar as title of each BottomNavigationTab and when I add const { t, i18n } = useTranslation(); I get Invalid
Tag: i18next
react-i18next ignores options parameter
I wanted to organize better the language translation files of my project having to nest objects in the language file. Without nesting everything works fine Even nesting objects I can access them by passing the attribute directory in the t() function (ie: t(‘section.subsection.text’) Documentation’s solution doesn’t work for me and I don’t know why I already tried printing the useTranslation
Change localization directory base on local storage item
In a particular step in the React stepper component, I have to change the directory based on a steps language. Unfortunately in one of the steps, the text is hardcoded into the images which requires …
Configure i18next to use warning logs instead of default info level
Currently I have many logs by i18next that make difficult to use the console: I need i18next to use warning level instead of default info level, in order to be able to filter them. Im checking docs …
Language getting detected but translation not working with i18n
I have set up the i18n middleware in my Express Node js server like this: // server.js import i18nMiddleware from ‘i18next-express-middleware’; import i18n from ‘i18next’; import Backend from ‘i18next-…
I18N change language in Next.JS
I have some problems with I18N and NextJS. So I configured my I18N, everything works with default locale, but everything crashes if I want to change locale from local storage. In _app.js I tried to …
HTML tags in i18next translation
I’m using i18next to power i18n for my weblog. It works great on text-only content, but when I try to translate content that includes HTML markup, it is displaying the raw markup when I translate the …