nyavro / i18nPlugin

Intellij idea i18next support plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot navigate to translation key

webnoob opened this issue · comments

I'm not sure with which update this started but I can no longer navigate / code complete translations.

My vue locales dir is set to: workspace\app\src\i18n\locales

My directory structure is:
image

My file is in the format of:

{
  modules: {
    someModule: {
      "someKey": "Something"
    }
  }
}

And I try to access from my SFC like: {{ $t('modules.someModule.someKey') }}

This was working perfectly up until recently.
I'm using version: 2.2.0

Having same problem and was also working previously, but after updating to latest IDEA (and maybe plugin?) it no longer detects the keys / lets me click to them.

On latest 2.4.0 && OSX

Turns out for me it unset my locales directory on update.

Setting that properly in Settings > Tools > i18n Plugin Config fixed me up.

Same here - working as expected after sorting that.