Our great sponsors
-
Now inside tag add onChange method, this is where we get values from options provided and pass it to i18n to change language i18n.changeLanguage(e.target.value)}> Choose language Uzbek Russian English Enter fullscreen mode Exit fullscreen mode Final App.js import logo from './logo.svg'; import './App.css'; import { useTranslation } from 'react-i18next'; function App() { const { t, i18n } = useTranslation() return (
Edit
i18n.changeLanguage(e.target.value)}> Choose language Uzbek Russian English {t('welcome')}src/App.js
and save to reload.
{t('goodbye')} -
react-i18next is a powerful internationalization framework for React / React Native which is based on i18next.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
react-i18next is a powerful internationalization framework for React / React Native which is based on i18next.
-
Now inside tag add onChange method, this is where we get values from options provided and pass it to i18n to change language i18n.changeLanguage(e.target.value)}> Choose language Uzbek Russian English Enter fullscreen mode Exit fullscreen mode Final App.js import logo from './logo.svg'; import './App.css'; import { useTranslation } from 'react-i18next'; function App() { const { t, i18n } = useTranslation() return (
Edit
i18n.changeLanguage(e.target.value)}> Choose language Uzbek Russian English {t('welcome')}src/App.js
and save to reload.
{t('goodbye')}