react-i18next translate string with variable code example
Example: react i18n with parameeter
i18next.t('key', { what: 'i18next', how: 'great' });
// -> "i18next is great"
i18next.t('key', { what: 'i18next', how: 'great' });
// -> "i18next is great"