.. oe:namespace:: OEIUPAC

.. meta::
   :keywords: OEToLanguage

.. oe:function:: OEToLanguage

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

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

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

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