OELanguage

This namespace contains constants for defining which language to translate to/from using OEFromLanguage and 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.

ENGLISH

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

AMERICAN

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

BRITISH

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

INTERNATIONAL

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

CHINESE

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

DANISH

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

DUTCH

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

FRENCH

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

GERMAN

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

GREEK

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

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.

IRISH

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

ITALIAN

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

JAPANESE

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

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.

PORTUGUESE

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

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.

RUSSIAN

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

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.

SPANISH

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

SWEDISH

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

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.