Bugzilla – Bug 11360
Cache should be re-initialized when language is changed
Last modified: 2011-05-18 09:34:08 UTC
In the SqueezeCenter, when a user switches to another language than the previously used, the SqueezeCenter still displays some texts in the previous language. The cache should be flushed.
Andy - what François is seeing here is the SN served menus (radio, services) not being updated. Is there a simple way to invalidate the cache for those?
Good point, I think the easiest solution is to change the cache to prefix all keys with the language code, as it would stall the server to clear the entire cache when a language is changed.
Andy - tried to figure out where that data is cached. Any pointer? AFAICT it's not in one single place...
*** Bug 11361 has been marked as a duplicate of this bug. ***
Yeah you could have language-specific things cached anywhere. Caching keys with a language prefix is the only way, or wipe the entire cache if language is changed.
Andy - I still need some help here. Tried again to add language to the ID. But XMLBrowser is so far spread, I don't get it. Whatever I change, it doesn't help. Where's the caching done? It looks as if some of it was in XMLBrowser, other parts in the http request code etc.
I can look at this, not sure it's a P1 though as the majority if users won't change their language.
this is an administrative shuffle on priority fields to help make better judgment on the top end of the priority list. P4->P5, P3->P4, and P2->P3.
*** Bug 13559 has been marked as a duplicate of this bug. ***
7.4.x milestone is in the past
Language change isn't good enough. Players/Controllers can request a languageOverride. Make the requested language part of the caching key to prevent loading different language results from the cache. *** This bug has been marked as a duplicate of bug 15010 ***