react-i18nify
react-i18nify copied to clipboard
Can't use dot (.) in string, gets cut off
Repro:
import { t, setLocale } from 'react-i18nify';
setTranslations({
sv: {
'Hello. There': 'Hallå. Där',
},
});
setLocale('sv');
t('Hello. There'), // Prints "There" 🤷♂️
Using "react-i18nify": "3.1.7",
I bumped the version to 3.2.5, but it didn't resolve the issue.