esskar / vscode-flutter-i18n-json

VS Code extension to create a binding between your translations from .json files and your Flutter app.
92 stars 21 forks source link

Locale codes not working #38

Closed Jessev6 closed 4 years ago

Jessev6 commented 4 years ago

The plugin is not allowing me to add new locales to my project. For some reason, this line: is always returning false for me.

It disables me from adding locales, which is really frustrating since I have to do it manually now.

VSCode version:

Version: 1.38.1 Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0 Date: 2019-09-16T10:22:16.623Z Electron: 4.2.11 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Linux x64 5.3.1-arch1-1-ARCH

Plugin version: latest

I remember using this plugin about two months ago without having this issue.

esskar commented 4 years ago

Hi, what locale are you typing in?

Jessev6 commented 4 years ago

I'm currently using en-US and was trying to add ru-RU. But not a single one I tried to add works for me.

Jessev6 commented 4 years ago

It's working for me now, I don't know what changed but this issue doesn't seem to happen anymore