some changes in class Locales