getgrav / grav-plugin-admin

Grav Admin Plugin
http://getgrav.org
MIT License
355 stars 227 forks source link

Confusing behavior when switching admin interface language #2284

Open yankl opened 2 years ago

yankl commented 2 years ago

I assume I'm doing something wrong but can't figure out what it is.

I've switched my admin user language to German (same issue for several non-English languages I've tried though): image and click Save, but the language of the admin interface remains in English.

I've confirmed that under user/accounts/[user-name].yaml I have the line language: de

I only have one user and am on my local machine. I'm on Grav v1.7.33 - Admin v1.10.33.1. I've tried clearing my cache. I tried flipping the Config>System>Languages>Translations to "No" and got the plugin to be in "no language" (just variable names), but when I flip it back, it's back in English. I also tried toggling the "Translations fallback" parameter but that didn't seem to do anything.

Any ideas what could be causing this?

yankl commented 2 years ago

Update: It ended up switching to German the next day. Now I see that the trick is to log out and then log back in -- then the language switches. If this is intended behavior, maybe there should be some indication of this in the interface so that users don't think it's just not responding