Silk Mobile

Table of Contents (Homepage)

SetLanguage

images/images/os-icons/os_ios_150x150.png

images/images/os-icons/os_android_150x150.png

images/images/os-icons/os_windows_150x150.png

images/images/os-icons/os_blackberry_150x150.png

images/images/os-icons/os_symbian02_150x150.png

images/images/os-icons/os_windows_mobile_150x150.png

Description

Set the OCR language

Parameters

  • language: The language to use or left empty to reset to English (See languages list below)

Usage

Note: For older versions you can still set the OCR language by using the command "setLanguage" in your script

English

English language selection. (Default for recognition). ISO/DIS 639-3 code is 'eng'.

LANG_ENG

German

German language selection. ISO/DIS 639-3 code is 'deu'.

LANG_GER

French

French language selection. ISO/DIS 639-3 code is 'fra'.

LANG_FRE

Dutch

Dutch language selection. ISO/DIS 639-3 code is 'nld'.

LANG_DUT

Norwegian

Norwegian language selection. ISO/DIS 639-3 code is 'nor'.

LANG_NOR

Swedish

Swedish language selection. ISO/DIS 639-3 code is 'swe'.

LANG_SWE

Finnish

Finnish language selection. ISO/DIS 639-3 code is 'fin'.

LANG_FIN

Danish

Danish language selection. ISO/DIS 639-3 code is 'dan'.

LANG_DAN

Icelandic

Icelandic language selection. ISO/DIS 639-3 code is 'isl'.

LANG_ICE

Portuguese

Portuguese language selection. ISO/DIS 639-3 code is 'por'.

LANG_POR

Spanish

Spanish language selection. ISO/DIS 639-3 code is 'spa'.

LANG_SPA

Catalan

Catalan language selection. ISO/DIS 639-3 code is 'cat'.

LANG_CAT

Galician

Galician language selection. Alternate names are Gallegan and Gallego. Spoken in Spain and Portugal. ISO/DIS 639-3 code is 'glg'.

LANG_GAL

Italian

Italian language selection. ISO/DIS 639-3 code is 'ita'.

LANG_ITA

Maltese

Maltese language selection. ISO/DIS 639-3 code is 'mlt'.

LANG_MAL

Greek

Greek language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'ell'.

LANG_GRE

Polish

Polish language selection. ISO/DIS 639-3 code is 'pol'.

LANG_POL

Czech

Czech language selection. ISO/DIS 639-3 code is 'ces'.

LANG_CZH

Slovak

Slovak language selection. ISO/DIS 639-3 code is 'slk'.

LANG_SLK

Hungarian

Hungarian language selection. ISO/DIS 639-3 code is 'hun'.

LANG_HUN

Slovenian

Slovenian language selection. ISO/DIS 639-3 code is 'slv'.

LANG_SLN

Croatian

Croatian language selection. ISO/DIS 639-3 code is 'hrv'.

LANG_CRO

Romanian

Romanian language selection. ISO/DIS 639-3 code is 'ron'.

LANG_ROM

Albanian

Albanian language selection. ISO/DIS 639-3 code is 'sqi'.

LANG_ALB

Turkish

Turkish language selection. ISO/DIS 639-3 code is 'tur'.

LANG_TUR

Estonian

Estonian language selection. ISO/DIS 639-3 code is 'est'.

LANG_EST

Latvian

Latvian language selection. ISO/DIS 639-3 code is 'lav'.

LANG_LAT

Lithuanian

Lithuanian language selection. ISO/DIS 639-3 code is 'lit'.

LANG_LIT

Serbian (Latin)

Serbian (Latin) language selection. The Serbian language's ISO/DIS 639-3 code is 'srp' but the CSDK uses the 'qsl' local code for Latin Serbian writing.

LANG_SRL

Serbian (Cyrillic)

Serbian (Cyrillic) language selection. This selection includes the characters of the English language as well. The Serbian language's ISO/DIS 639-3 code is 'srp'. The CSDK uses this code for only the Cyrillic Serbian writing.

LANG_SRB

Macedonian (Cyrillic)

Macedonian (Cyrillic) language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'mkd'.

LANG_MAC

Moldavian (Cyrillic)

Moldavian (Cyrillic) language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'mol'.

LANG_MOL

Bulgarian (Cyrillic)

Bulgarian (Cyrillic) language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'bul'.

LANG_BUL

Byelorussian (Cyrillic)

Byelorussian (Cyrillic) language selection. This selection includes the characters of the English language as well. Other spellings Belarusian and White Russian. ISO/DIS 639-3 code is 'bel'.

LANG_BEL

Ukrainian (Cyrillic)

Ukrainian (Cyrillic) language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'ukr'.

LANG_UKR

Russian (Cyrillic)

Russian (Cyrillic) language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'rus'.

LANG_RUS

Japanese

Japanese language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'jpn'.

LANG_JPN

Simplified Chinese

Simplified Chinese language selection. This selection includes the characters of the English language as well. There is no language code for this writing mode in the ISO/DIS 639-3 standard. The CSDK uses the 'qcs' local code.

LANG_CHS

Traditional Chinese

Traditional Chinese language selection. This selection includes the characters of the English language as well. There is no language code for this writing mode in the ISO/DIS 639-3 standard. The CSDK uses the 'qct' local code.

LANG_CHT

Korean

Korean language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'kor'.

LANG_KRN

Thai

Thai language selection. Reserved for future versions. ISO/DIS 639-3 code is 'tha'.

LANG_THA

Detect latin

Detect latin language(s).

LANG_ALL_LATIN

Detect asian

Detect asian language(s).

LANG_ALL_ASIAN

Detect

Detect any language(s).

LANG_ALL

Esperanto

Esperanto language selection. Constructed language. ISO/DIS 639-3 code is 'epo'.

LANG_ESP

Chechen

Chechen language selection. This selection includes the characters of the English language as well. ISO/DIS 639-3 code is 'che'.

LANG_CHE

Kabardian

Kabardian language selection. This selection includes the characters of the English language as well. Alternate name is Beslenei. Spoken in Russia and Turkey. ISO/DIS 639-3 code is 'kbd'.

LANG_KAB

Afrikaans

Afrikaans language selection. Spoken in Sourth Africa. ISO/DIS 639-3 code is 'afr'.

LANG_AFR

Aymara

Aymara language selection. Spoken in Bolivia and Peru. ISO/DIS 639-3 code is 'aym'.

LANG_AYM

Basque

Basque language selection. ISO/DIS 639-3 code is 'eus'.

LANG_BAS

Bemba

Bemba language selection. Alternate names are Chibemba, Ichibemba, Wemba, Chiwemba. Spoken in Zambia and Democratic Republic of Congo. ISO/DIS 639-3 code is 'bem'.

LANG_BEM

Blackfoot

Blackfoot language selection. Alternate name is Blackfeet, Siksika and Pikanii. Spoken in Canada and USA. ISO/DIS 639-3 code is 'bla'.

LANG_BLA

Breton

Breton language selection. ISO/DIS 639-3 code is 'bre'.

LANG_BRE

Portuguese (Brazilian)

Portuguese (Brazilian) language selection. There is no language code for the Brazilian Portuguese language in the ISO/DIS 639-3 standard. The CSDK uses the 'qbp' local code.

LANG_BRA

Bugotu

Bugotu language selection. Spoken in Solomon Islands. ISO/DIS 639-3 code is 'bgt'.

LANG_BUG

Chamorro

Chamorro language selection. Spoken in Guam and Northern Mariana Islands. ISO/DIS 639-3 code is 'cha'.

LANG_CHA

Chuana

Chuana or Tswana language selection. Spoken in Botswana and South Africa. ISO/DIS 639-3 code is 'tsn'.

LANG_CHU

Corsican

Corsican language selection. ISO/DIS 639-3 code is 'cos'.

LANG_COR

Crow

Crow language selection. Spoken in USA. ISO/DIS 639-3 code is 'cro'.

LANG_CRW

Eskimo

Eskimo language selection. This language selection is a collection of Eskimo and Inuit languages. There is no language code for it in the ISO/DIS 639-3 standard. The CSDK uses the 'qes' local code.

LANG_ESK

Faroese

Faroese language selection. ISO/DIS 639-3 code is 'fao'.

LANG_FAR

Fijian

Fijian language selection. ISO/DIS 639-3 code is 'fij'.

LANG_FIJ

Frisian

Frisian language selection. This is a macrolanguage of three Frisian languages in Germany. ISO/DIS 639-3 code is 'fry'.

LANG_FRI

Friulian

Friulian language selection. Spoken in Italy. ISO/DIS 639-3 code is 'fur'.

LANG_FRU

Gaelic Irish

Gaelic Irish language selection. ISO/DIS 639-3 code is 'gle'.

LANG_GLI

Gaelic Scottish

Gaelic Scottish language selection. ISO/DIS 639-3 code is 'gla'.

LANG_GLS

Ganda

Ganda or Luganda language selection. Spoken in Uganda. ISO/DIS 639-3 code is 'lug'.

LANG_GAN

Guarani

Guarani language selection. This is a macrolanguage of the Chiripa and some Guarani languages. Spoken in Paraguay, Argentina, Bolivia and Brazil. ISO/DIS 639-3 code is 'grn'.

LANG_GUA

Hani

Hani language selection. Alternate names are Hanhi, Haw and Hani Proper. Spoken in China, Laos and Viet Nam. ISO/DIS 639-3 code is 'hni'.

LANG_HAN

Hawaiian

Hawaiian language selection. ISO/DIS 639-3 code is 'haw'.

LANG_HAW

Ido

Ido language selection. Constructed language. ISO/DIS 639-3 code is 'ido'.

LANG_IDO

Indonesian

Indonesian language selection. ISO/DIS 639-3 code is 'ind'.

LANG_IND

Interlingua

Interlingua language selection. Constructed language. ISO/DIS 639-3 code is 'ina'.

LANG_INT

Kashubian

Kashubian language selection. Spoken in Poland. ISO/DIS 639-3 code is 'csb'.

LANG_KAS

Kawa

Kawa language selection. Alternate names area Wa, Va, Vo, Wa Pwo and Wakut. Spoken in China. ISO/DIS 639-3 code is 'wbm'.

LANG_KAW

Kikuyu

Kikuyu language selection. Spoken in Kenya. ISO/DIS 639-3 code is 'kik'.

LANG_KIK

Kongo

Kongo language selection. This is a macrolanguage of Laari and Kongo languages. Spoken in the Democratic Republic of the Congo, Angola and Congo. ISO/DIS 639-3 code is 'kon'.

LANG_KON

Kpelle

Kpelle language selection. This is a macrolanguage of Kpelle languages. Spoken in Liberia and Guinea. ISO/DIS 639-3 code is 'kpe'.

LANG_KPE

Kurdish

Kurdish language selection - if written in the latin alphabet. This is a macrolanguage of the Kurdish languages ISO/DIS 639-3 code is 'kur'.

LANG_KUR

Latin

Latin language selection. ISO/DIS 639-3 code is 'lat'.

LANG_LTN

Luba

Luba language selection. Alternate names are Luba-Lulua, Luba-Kasai, Tshiluba, Luva and Western Luba. Spoken in the Democratic Republic of the Congo. ISO/DIS 639-3 code is 'lua'.

LANG_LUB

Luxembourgian

Luxembourgian language selection. Alternate names are Luxembourgeois and Letzburgish. Spoken in Luxembourg. ISO/DIS 639-3 code is 'ltz'.

LANG_LUX

Malagasy

Malagasy language selection. This is a macrolanguage of Malagasy languages. Spoken in Madagascar. ISO/DIS 639-3 code is 'mlg'.

LANG_MLG

Malay

Malay language selection. ISO/DIS 639-3 code is 'msa'.

LANG_MLY

Malinke

Malinke language selection. Alternate names are Western Maninkakan, Malinka and Maninga. Spoken in Senegal, Gambia and Mali. ISO/DIS 639-3 code is 'mlq'.

LANG_MLN

Maori

Maori language selection. Spoken in New Zealand. ISO/DIS 639-3 code is 'mri'.

LANG_MAO

Mayan

Mayan language selection. This is a language collection which is not supported by ISO/DIS 639-3, so the CSDK uses the ISO/DSI-639-2 code for this: 'MYN'.

LANG_MAY

Miao

Miao language selection. This is a macrolanguage of Hmong languages. Alternate name is Hmong. Spoken in China, Laos, Thailand,Myanmar and Viet Nam. ISO/DIS 639-3 code is 'hmn'.

LANG_MIA

Minankabaw

Minankabaw language selection. ISO/DIS 639-3 code is 'min'.

LANG_MIN

Mohawk

Mohawk language selection. Spoken in Canada and USA. ISO/DIS 639-3 code is 'moh'.

LANG_MOH

Nahuatl

Nahuatl language selection. This is a language collection which is not supported by ISO/DIS 639-3, so the CSDK uses the ISO/DSI-639-2 code for this: 'NAH'.

LANG_NAH

Nyanja

Nyanja language selection. Alternate names are Chichewa and Chinyanja. Spoken in Malawi, Mozambique, Zambia and Zimbabw. ISO/DIS 639-3 code is 'nya'.

LANG_NYA

Occidental

Occidental language selection. Constructed language. ISO/DIS 639-3 code is 'occ'.

LANG_OCC

Ojibway

Ojibway language selection. This is a macrolanguage of Ojibwa, Chippewa and Ottawa languages. Alternate names are Ojibwa and Ojibwe. Spoken in Canada and USA. ISO/DIS 639-3 code is 'oji'.

LANG_OJI

Papiamento

Papiamento language selection. Spoken in Netherlands Antilles, Aruba. ISO/DIS 639-3 code is 'pap'.

LANG_PAP

Pidgin

Pidgin English language selection. Alternate names are Tok Pisin, Naomalanesian and New Guinean Pidgin English. Spoken in Papua New Guinea. ISO/DIS 639-3 code is 'tpi'.

LANG_PID

Provencal

Provencal language selection. Alternate name is Occitan. Spoken in France, Italy and Monaco. ISO/DIS 639-3 code is 'prv'.

LANG_PRO

Quechua

Quechua language selection. This is a macrolanguage of the Quechua languages. Spoken in Peru. ISO/DIS 639-3 code is 'que'.

LANG_QUE

Rhaetic

Rhaetic language selection. Alternate names are Romansch and Rhaeto-Romance. Spoken in Switzerland. ISO/DIS 639-3 code is 'roh'.

LANG_RHA

Romany

Romany language selection. Spoken all over Europe. ISO/DIS 639-3 code is 'rom'.

LANG_ROY

Ruanda

Ruanda language selection. Alternate names are Kinyarwanda and Rwanda. Spoken in Rwanda, the Democratic Republic of Congo and Uganda. ISO/DIS 639-3 code is 'kin'.

LANG_RUA

Rundi

Rundi language selection. Spoken in Burundi and Uganda. ISO/DIS 639-3 code is 'run'.

LANG_RUN

Samoan

Samoan language selection. Spoken in Samoa and American Samoa. ISO/DIS 639-3 code is 'smo'.

LANG_SAM

Sardinian

Sardinian language selection. This is a macrolanguage of the Sardinian languages. ISO/DIS 639-3 code is 'srd'.

LANG_SAR

Shona

Shona language selection. Spoken in Zimbabwe, Botswana and Zambia. ISO/DIS 639-3 code is 'sna'.

LANG_SHO

Sioux

Sioux language selection. Alternate name is Dakota. Spoken in USA and Canada. ISO/DIS 639-3 code is 'dak'.

LANG_SIO

Sami

Sami language selection (Combination of the Sami language family). This is a language collection which is not supported by ISO/DIS 639-3, so the CSDK uses the ISO/DSI-639-2 code for this: 'SMI'.

LANG_SMI

Lule Sami

Lule Sami language selection. ISO/DIS 639-3 code is 'smj'.

LANG_SML

Northern Sami

Northern Sami language selection. ISO/DIS 639-3 code is 'sme'.

LANG_SMN

Southern Sami

Southern Sami language selection. ISO/DIS 639-3 code is 'sma'.

LANG_SMS

Somali

Somali language selection. ISO/DIS 639-3 code is 'som'.

LANG_SOM

Sotho

Sotho, Suto or Sesuto language selection. Spoken is Lesotho and South Africa. ISO/DIS 639-3 code is 'sot'.

LANG_SOT

Sundanese

Sundanese language selection. Alternate names are Sunda and Priangan. Spoken in Java and Bali in Indonesia. ISO/DIS 639-3 code is 'sun'.

LANG_SUN

Swahili

Swahili language selection. This is a macrolanguage of the Swahili languages. Spoken in the Democratic Republic of the Congo, Tanzania, Kenya and Somalia. ISO/DIS 639-3 code is 'swa'.

LANG_SWA

Swazi

Swazi language selection. Alternate names are Swati, Siswati and Tekela. Spoken in Swaziland, Lesotho, Mozambique and South Africa. ISO/DIS 639-3 code is 'ssw'.

LANG_SWZ

Tagalog

Tagalog language selection. Spoken in Philippines. ISO/DIS 639-3 code is 'tgl'.

LANG_TAG

Tahitian

Tahitian language selection. ISO/DIS 639-3 code is 'tah'.

LANG_TAH

Tinpo

Tinpo language selection. There is no language code for it in the ISO/DIS 639-3 standard. The CSDK uses the 'qti' local code.

LANG_TIN

Tongan

Tongan language selection. Alternate names are Tonga, Siska and Nyasa. Spoken in Malawi. ISO/DIS 639-3 code is 'ton'.

LANG_TON

Tun

Tun language selection. Alternate names are Tunia and Tunya. Spoken in Chad. ISO/DIS 639-3 code is 'tug'.

LANG_TUN

Visayan

Visayan language selection. The Visayan language actually consists of three languages: Cebuano, Hiligaynon and Samaran or Waray-waray. Spoken in the Philippines. There is no language code for it in the ISO/DIS 639-3 standard. The CSDK uses the 'qis' local code.

LANG_VIS

Welsh

Welsh language selection. ISO/DIS 639-3 code is 'cym'.

LANG_WEL

Wend

Wend or Sorbian language selection. This is a language collection which is not supported by ISO/DIS 639-3, so the CSDK uses the ISO/DSI-639-2 code for this: 'WEN'.

LANG_WEN

Wolof

Wolof language selection. Spoken in Senegal and Mauritania. ISO/DIS 639-3 code is 'wol'.

LANG_WOL

Xhosa

Xhosa language selection. Spoken in South Africa and Lesotho. ISO/DIS 639-3 code is 'xho'.

LANG_XHO

Zapotec

Zapotec language selection. This is a macrolanguage of the Zapotec languages. Spoken in Mexico. ISO/DIS 639-3 code is 'zap'.

LANG_ZAP

Zulu

Zulu language selection. Spoken in South Africa, Lesotho, Malawi, Mozambique and Swaziland. ISO/DIS 639-3 code is 'zul'.

LANG_ZUL