react-i18nify icon indicating copy to clipboard operation
react-i18nify copied to clipboard

Can't use dot (.) in string, gets cut off

Open khromov opened this issue 5 years ago • 1 comments

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",

khromov avatar Nov 17 '20 15:11 khromov

I bumped the version to 3.2.5, but it didn't resolve the issue.

khromov avatar Nov 17 '20 15:11 khromov