support single term locale strings, such as "en"