.. oe:namespace:: OEIUPAC

.. meta::
   :keywords: OEFromLanguage

.. oe:function:: OEFromLanguage

   .. oe:language:: c++ java csharp

      .. oe:api::

         std::string OEFromLanguage(const char* ptr, unsigned int lang)

   .. oe:language:: python

      .. oe:api:: python

         OEFromLanguage(ptr: str, lang: int) -> str

   This is a helper wrapper function that can be used to convert the
   chemical name specified by 'ptr' from the language specified by 'lang' to
   English. The languages are specified by the constants in the
   :oe:constns:`OEIUPAC::OELanguage` namespace.
