Get locale for translator from config if available.