ignore case when looking for locale

refer to tolk/tolk