support both 2- and 3-letter lang names