Translate language to locale for Babel