Localization check
Handle unknown locales, better structure.