'How to configure `I18n Ally` vscode plugin to read my locals?

I am using i18next and react-i18next. i18n Ally v2.8.1.

I have one locale file: /locales/en.json Structure of this file:

{
    "pagetitle.home": "Home",
    "pagetitle.restore": "Restore",
    "pagetitle.register": "Register"
}

When hover on code i18n.t('pagetitle.restore') ru: i18n key "en.pagetitle.restore" does not exist(i18n-ally-key-missing)

Which config of extension should be?

P.S. I cant change locales structure.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source