Invalidate browser cache on language change

This commit is contained in:
Bernd Bestel 2021-07-04 21:54:41 +02:00
parent cb24a7149f
commit 9ba7ee54a7
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -232,7 +232,7 @@ U = function(relativePath)
}
Grocy.Translator = new Translator(); // Dummy, real instance is loaded async below
Grocy.Api.Get("system/localization-strings?v=" + Grocy.Version,
Grocy.Api.Get("system/localization-strings?v=" + Grocy.Version + "&language=" + Grocy.Culture,
function(response)
{
Grocy.Translator = new Translator(response);