Use more reliable method of getting locale/language