We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
@alexfauquette can you tell us, how it's setup in hungergames ?
Sorry, something went wrong.
Of course
You have a github action to keep it up to date here
You can copy past the folder structure (i18n folder) which contains common.json and after 1 file per locale
common.json
I used reacti18n. You can have a look to the get started
I've one file that do the initialization on the all app
It's called in the root index.js as follow
import "./i18n";
After that all your components can have translation as follow:
import { useTranslation } from "react-i18next"; const MyComponent = ()=>{ const { t } = useTranslation(); return <p>{t('myTrabslationKey')}</p> }
No branches or pull requests
What
Part of
The text was updated successfully, but these errors were encountered: