Convert LangType to IDM_LANG_*
LangType
IDM_LANG_* or IDM_LANG_EXTERNAL_LIMIT on error.
See Implementation
Convert LangType to IDM_LANG_*