I have few language folders with locale files inside
locales
├── en
| ├── common.json
| ├── ...
| └── article.json
└── de
├── common.json
├── ...
└── article.json
And i have a nested structure of locale.json like this
{
"title": "Something",
"menu": {
"first": "First",
"second": "Second",
"third": "Third"
}
}
I can't configure the extension settings to read this locales structure
I was struggling to make this work too, then finally found out the right config.
Important thing is to set localesPaths as well as pathMatcher in settings accordingly.
Also, developers notice in docs that it is important to set
namespace
to true beforepathMatcher
.