Better caching of properties.
locale was not cached correctly.