fix problem with getLocale/setLocale from client, with cache feature and lifecycle
fix problem with getLocale/setLocale from client, with cache feature and lifecycle