I've created a package with custom nodes and am trying to add internationalization. Published package structure is:
root/
├── locales/
│ ├── en-US
│ │ ├── node-1.html
│ │ ├── node-1.json
│ │ ├── node-2.html
│ │ └── node-2.json
│ ├── ru
│ │ ├── node-1.html
│ │ ├── node-1.json
│ │ ├── node-2.html
│ │ └── node-2.json
├── node-1.js
├── node-2.js
└── package.json
The Node-1 only uses the en-US locale, even if I change the language to Russian. The Node-2 doesn't detect any locale. All resources are created in the same way, and I don't understand why this is happening.
I tried to use the ru-RU key and it didn't help.