OEGetIUPACLanguage

unsigned int OEGetIUPACLanguage(const std::string& langStr)

Returns a constant in the OELanguage namespace based on the value of the name. Name can be a language name or two-letter country code.