OEGetIUPACLanguage

unsigned int OEGetIUPACLanguage(std::string &name)

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.