kirby-seo
kirby-seo copied to clipboard
Field label language fallback doesn't work
If the panel user has a language that is not included as a translation for this plugin, the field labels shows the label keys instead of a fallback translation.
To reproduce:
- For the currently logged in user, set the user language to a language that is not supported by this plugin, i.e. Swedish.
- Go to a page and show the SEO tab.
- All field labels shows the label key:
global-meta-headline,meta-title-template,meta-title-template-help,meta-descriptionetc
I would rather see that if the user language is not supported, the fallback would be shown with English translation.
This doesn't seem like a plugin issue but rather an issue of core. Surely it should work by default? https://github.com/getkirby/kirby/issues/1188
I was also thinking it might be a Kirby issue. Forgot to mention that. But because of this issue I took the time to make a PR with a swedish translation. So something good came out of it. 😄
I have the same issue here, also in your dreamform plugin. Seems indeed to be a core issue: https://forum.getkirby.com/t/missing-translation-strings-from-plugins/33618