- Initialize i18next and pass down react-i18next.
- Simplest usage is to use the
useTranslation
hook - Use the Render prop
- The Trans component allows one to render a whole JSX tree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start | |
= _* node:Node+ | |
{ | |
return node[0]; | |
} | |
/ _* | |
{ | |
return {}; | |
} | |
/ EOF |