Skip to main content

The TranslatorKoreanEn Class Reference

Declaration

class TranslatorKoreanEn { ... }

Included Headers

Base class

classTranslatorEnglish

Public Member Functions Index

QCStringidLanguage () override
QCStringlatexLanguageSupportCommand () override
QCStringtrRTFansicp () override
QCStringlatexCommandName () override
QCStringtrRTFCharSet () override
QCStringtrISOLang () override
QCStringgetLanguageString () override

language codes for Html help More...

Definition at line 31 of file translator_ke.h.

Public Member Functions

getLanguageString()

QCString TranslatorKoreanEn::getLanguageString ()
inline virtual

language codes for Html help

 0x402 Bulgarian
0x405 Czech
0x406 Danish
0x413 Dutch
0xC09 English (Australia)
0x809 English (Britain)
0x1009 English (Canada)
0x1809 English (Ireland)
0x1409 English (New Zealand)
0x1C09 English (South Africa)
0x409 English (United States)
0x40B Finnish
0x40C French
0x407 German
0x408 Greece
0x439 Hindi
0x40E Hungarian
0x410 Italian
0x814 Norwegian
0x415 Polish
0x816 Portuguese(Portugal)
0x416 Portuguese(Brazil)
0x419 Russian
0x80A Spanish(Mexico)
0xC0A Spanish(Modern Sort)
0x40A Spanish(Traditional Sort)
0x41D Swedish
0x41F Turkey
0x411 Japanese
0x412 Korean
0x804 Chinese (PRC)
0x404 Chinese (Taiwan)

New LCIDs:

 0x421 Indonesian
 0x41A Croatian
 0x418 Romanian
 0x424 Slovenian
 0x41B Slovak
 0x422 Ukrainian
 0x81A Serbian (Serbia, Latin)
 0x403 Catalan
 0x426 Latvian
 0x427 Lithuanian
 0x436 Afrikaans
 0x42A Vietnamese
 0x429 Persian (Iran)
 0xC01 Arabic (Egypt) - I don't know which version of arabic is used inside translator_ar.h ,
       so I have chosen Egypt at random

Code for Esperanto should be as shown below but the htmlhelp compiler 1.3 does not support this (and no newer version is available).

0x48f Esperanto

So do a fallback to the default language

0x409 English (United States)
0xC1A Serbian (Serbia, Cyrillic)

Definition at line 61 of file translator_ke.h.

62 {
63 return "0x412 Korean";
64 }

idLanguage()

QCString TranslatorKoreanEn::idLanguage ()
inline virtual

Used for identification of the language. The identification should not be translated. It should be replaced by the name of the language in English using lower-case characters only (e.g. "czech", "japanese", "russian", etc.). It should be equal to the identification used in language.cpp.

Definition at line 34 of file translator_ke.h.

35 { return "korean-en"; }

latexCommandName()

QCString TranslatorKoreanEn::latexCommandName ()
inline virtual

Set the name to be used as latex command.

Definition at line 44 of file translator_ke.h.

45 {
46 return p_latexCommandName("xelatex");
47 }

Reference Translator::p_latexCommandName.

latexLanguageSupportCommand()

QCString TranslatorKoreanEn::latexLanguageSupportCommand ()
inline virtual

Used to get the LaTeX command(s) for the language support. This method should return string with commands that switch LaTeX to the desired language. For example

"\\usepackage[german]{babel}\n"

or

"\\usepackage{polski}\n"
"\\usepackage[latin2]{inputenc}\n"
"\\usepackage[T1]{fontenc}\n"

The English LaTeX does not use such commands. Because of this the empty string is returned in this implementation.

Definition at line 36 of file translator_ke.h.

37 {
38 return "\\usepackage{kotex}\n";
39 }

trISOLang()

QCString TranslatorKoreanEn::trISOLang ()
inline virtual

Definition at line 57 of file translator_ke.h.

57 QCString trISOLang() override
58 {
59 return "ko";
60 }

trRTFansicp()

QCString TranslatorKoreanEn::trRTFansicp ()
inline virtual

Used as ansicpg for RTF file

The following table shows the correlation of Charset name, Charset Value and

Codepage number:
Charset Name Charset Value(hex) Codepage number
------------------------------------------------------
DEFAULT_CHARSET 1 (x01)
SYMBOL_CHARSET 2 (x02)
OEM_CHARSET 255 (xFF)
ANSI_CHARSET 0 (x00) 1252
RUSSIAN_CHARSET 204 (xCC) 1251
EE_CHARSET 238 (xEE) 1250
GREEK_CHARSET 161 (xA1) 1253
TURKISH_CHARSET 162 (xA2) 1254
BALTIC_CHARSET 186 (xBA) 1257
HEBREW_CHARSET 177 (xB1) 1255
ARABIC _CHARSET 178 (xB2) 1256
SHIFTJIS_CHARSET 128 (x80) 932
HANGEUL_CHARSET 129 (x81) 949
GB2313_CHARSET 134 (x86) 936
CHINESEBIG5_CHARSET 136 (x88) 950

Definition at line 40 of file translator_ke.h.

41 {
42 return "949";
43 }

trRTFCharSet()

QCString TranslatorKoreanEn::trRTFCharSet ()
inline virtual

Used as ansicpg for RTF fcharset

See Also

trRTFansicp() for a table of possible values.

Definition at line 52 of file translator_ke.h.

53 {
54 return "129";
55 }

The documentation for this class was generated from the following file:


Generated via doxygen2docusaurus by Doxygen 1.14.0.