.. oe:namespace:: OEIUPAC

.. oe:constnamespace:: OELanguage

   This namespace contains constants for defining which language to 
   translate to/from using :oe:func:`OEIUPAC::OEFromLanguage` and 
   :oe:func:`OEIUPAC::OEToLanguage`.

   Depending on the language, the translation functions may expect ``\u``
   escaped Unicode characters.  In general the translations only use
   characters in the Basic Multilingual Plane (BMP).  Each language below
   indicates the range of Unicode characters which are handled.  Character
   set conversion should take into account the range of Unicode expected.

   .. oe:constant:: ENGLISH

      This constant is used to specify the American dialect of English.
      This is currently a synonym of the constant 
      :oe:const:`OEIUPAC::OELanguage::AMERICAN`.  Uses only ASCII
      characters.

   .. oe:constant:: AMERICAN

      This constant is used to specify the American dialect of English to
      This is currently a synonym of the constant
      :oe:const:`OEIUPAC::OELanguage::ENGLISH`.  Uses only ASCII
      characters.

   .. oe:constant:: BRITISH

      This constant is used to specify the traditional British dialect
      of English.  Uses only ASCII characters.

   .. oe:constant:: INTERNATIONAL
 
      This constant is used to specify the international dialect of English.
      Uses only ASCII characters.

   .. oe:constant:: CHINESE

      This constant is used to specify the Chinese language.
      Uses CJK characters in the Unicode BMP.

   .. oe:constant:: DANISH

      This constant is used to specify the Danish language.  Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: DUTCH

      This constant is used to specify the Dutch language.  Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: FRENCH

      This constant is used to specify the French language.  Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: GERMAN

      This constant is used to specify the German language.  Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: GREEK

      This constant is used to specify the Greek language. Uses ASCII and
      Greek Unicode characters in the ``\u0370`` to ``\u03ff`` range.

   .. oe:constant:: HUNGARIAN

      This constant is used to specify the Hungarian language. Uses ASCII,
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range and
      Latin Extended-A Unicode characters in the ``\u0100`` to ``\u017f``
      range.

   .. oe:constant:: IRISH

      This constant is used to specify the Irish language. Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: ITALIAN

      This constant is used to specify the Italian language. Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: JAPANESE

      This constant is used to specify the Japanese language.
      Uses CJK characters in the Unicode BMP.

   .. oe:constant:: POLISH

      This constant is used to specify the Polish language. Uses ASCII,
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range and
      Latin Extended-A Unicode characters in the ``\u0100`` to ``\u017f``
      range.

   .. oe:constant:: PORTUGUESE

      This constant is used to specify the Portuguese language. Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: ROMANIAN

      This constant is used to specify the Romanian language. Uses ASCII,
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range and
      Latin Extended-A Unicode characters in the ``\u0100`` to ``\u017f``
      range.

   .. oe:constant:: RUSSIAN

      This constant is used to specify the Russian language.  Uses ASCII and
      Cyrillic Unicode characters in the ``\u0400`` to ``\u04ff`` range.

   .. oe:constant:: SLOVAK

      This constant is used to specify the Slovak language. Uses ASCII,
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range and
      Latin Extended-A Unicode characters in the ``\u0100`` to ``\u017f``
      range.

   .. oe:constant:: SPANISH

      This constant is used to specify the Spanish language. Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: SWEDISH

      This constant is used to specify the Swedish language. Uses ASCII and
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range.

   .. oe:constant:: WELSH

      This constant is used to specify the Welsh language. Uses ASCII,
      Latin-1 Unicode characters in the ``\u00a0`` to ``\u00ff`` range and
      Latin Extended-A Unicode characters in the ``\u0100`` to ``\u017f``
      range.
