I have a flat json as follows
'action.skip': 'Skip this for now',
'action.start': 'Start'
I want to call it as
{I18n.t('action.start')}
currently it is not working because i18n trying to find "action" key and its child "start" instead of "action.start". I couldn't find any option to change the key separator. please help
We can change the key seperator by adding following codes.
i18n-js now only split the string with "_", so if add "abc.xyz" it will treat as a single key.