Bugfix for locale caching