Fix cache to take locale in account.