Changing deprecated value "changeLanguage" by "changeLocale"