globalize_locales method added for getting class locales