Added auto-check to search for closest match for default locale if default locale is not found. (ie, if system locale is "en", it will accept "en-US" or "en-UK" if one of those is provided but "en" is not)