Iām using great https://github.com/OblikStudio/kirby-variables-field plugin. But realise, that some languages not working and I donāt know why. For example, language with es code not working (Iām getting variables from default language) but when I rewrite it to sk everything working as expected. Any suggestion where is the problem or how to debug it?
I also create a issue on github, but I donāt have an answer. I needed to solve it quickly, so for now I switched to classic translations array in language definition
Interesting. Iām currently experiencing exactly the same in one of my installations: es isnāt displayed properly; it defaults to en which is also the default for this site. Luckily āESā doesnāt need to go live yet, so I have time to figure this out.
I donāt use the kirby-variables-field plugin in the site where I experience this. So I doubt itās related to this plugin, but I assume itās something in core instead?
Iāll try to figure out a bit more, and maybe try it in a fresh starterkit as well.
I use a yaml file for each languageās variables that I pull into translations. I deleted that file for es and recreated that file from scratch. At first sight, it seems to work nowā¦ That makes me wonder if itās a core issue tbh. I think my issue was more of a filesystem quirk or some weird thing with that imported fileā¦
At my end; the translations happen directly in yaml files. Then I add them to my codebase & deploy them to the website. So they cannot translate the info in the language variables without passing through me.