CAP_LANGUAGE

Featured Clients

Sectors: FinanceInformation TechnoloyGovernmentHealthcareIndustriesEducation(show all)

TWAIN Capability: CAP_LANGUAGE

CAP_LANGUAGE

Description

Allows Application and Source to identify which languages they have in common for the exchange of string data, and to select the language of the internal UI. Note: Since the TWLG_xxxx codes include language and country data, there is no separate capability for selecting the country.

Application

In multi-lingual environments, it is the responsibility of the Application to recall the last selected language for a given User.

Source

Values

The current value of this setting specifies the language used by the Source (and possibly the device). The Source must first default to the Application’s current language. If that fails then it must default to the User’s Locale (c.f., the Win32 call GetLocaleInfo()). If that fails then the Source should make the best choice it can, preferably using a common secondary language (i.e., English, French…).

Note:

TWLG_ARABIC_UAE is for the United Arabic Emirates.

TWLG_CHINESE_PRC is for the People’s Republic of China

Type: TW_UINT

Default Value: In order of priority:

appIdentity >Version Language

TWLG_USERLOCALE Source’s choice

Allowed Values: TWLG_USERLOCALE // pre 1.8 values… TWLG_DAN TWLG_DUT TWLG_ENG TWLG_FCF TWLG_FIN TWLG_FRN TWLG_GER TWLG_ICE TWLG_ITN TWLG_NOR TWLG_POR TWLG_SPA TWLG_SWE TWLG_USA

// 1.8 should use these…

TWLG_AFRIKAANS TWLG_ALBANIA TWLG_ARABIC TWLG_ARABIC_ALGERIA TWLG_ARABIC_BAHRAIN TWLG_ARABIC_EGYPT TWLG_ARABIC_IRAQ TWLG_ARABIC_JORDAN TWLG_ARABIC_KUWAIT TWLG_ARABIC_LEBANON TWLG_ARABIC_LIBYA TWLG_ARABIC_MOROCCO TWLG_ARABIC_OMAN TWLG_ARABIC_QATAR TWLG_ARABIC_SAUDIARABIA TWLG_ARABIC_SYRIA TWLG_ARABIC_TUNISIA TWLG_ARABIC_UAE TWLG_ARABIC_YEMEN TWLG_BASQUE TWLG_BYELORUSSIAN TWLG_BULGARIAN TWLG_CATALAN TWLG_CHINESE TWLG_CHINESE_HONGKONG TWLG_CHINESE_PRC TWLG_CHINESE_SINGAPORE TWLG_CHINESE_SIMPLIFIED TWLG_CHINESE_TAIWAN

TWLG_CHINESE_TRADITIONAL TWLG_CROATIA

TWLG_CZECH TWLG_DANISH TWLG_DUTCH TWLG_DUTCH_BELGIAN TWLG_ENGLISH

TWLG_ENGLISH_AUSTRALIAN TWLG_ENGLISH_CANADIAN TWLG_ENGLISH_IRELAND TWLG_ENGLISH_NEWZEALAND TWLG_ENGLISH_SOUTHAFRICA TWLG_ENGLISH_UK TWLG_ENGLISH_USA TWLG_ESTONIAN TWLG_FAEROESE

TWLG_FARSI TWLG_FINNISH TWLG_FRENCH TWLG_FRENCH_BELGIAN TWLG_FRENCH_CANADIAN

TWLG_FRENCH_LUXEMBOURG TWLG_FRENCH_SWISS TWLG_GERMAN TWLG_GERMAN_AUSTRIAN TWLG_GERMAN_LUXEMBOURG TWLG_GERMAN_LIECHTENSTEIN TWLG_GERMAN_SWISS TWLG_GREEK

TWLG_HEBREW TWLG_HUNGARIAN TWLG_ICELANDIC TWLG_INDONESIAN TWLG_ITALIAN TWLG_ITALIAN_SWISS TWLG_JAPANESE TWLG_KOREAN TWLG_KOREAN_JOHAB TWLG_LATVIAN TWLG_LITHUANIAN TWLG_NORWEGIAN TWLG_NORWEGIAN_BOKMAL TWLG_NORWEGIAN_NYNORSK TWLG_POLISH TWLG_PORTUGUESE TWLG_PORTUGUESE_BRAZIL TWLG_ROMANIAN TWLG_RUSSIAN TWLG_SERBIAN_LATIN TWLG_SLOVAK TWLG_SLOVENIAN TWLG_SPANISH TWLG_SPANISH_MEXICAN TWLG_SPANISH_MODERN TWLG_SWEDISH

TWLG_THAI TWLG_TURKISH TWLG_UKRANIAN TWLG_ASSAMESE TWLG_BENGALI TWLG_BIHARI TWLG_BODO TWLG_DOGRI TWLG_GUJARATI TWLG_HARYANVI TWLG_HINDI TWLG_KANNADA TWLG_KASHMIRI TWLG_MALAYALAM TWLG_MARATHI

TWLG_MARWARI TWLG_MEGHALAYAN TWLG_MIZO TWLG_NAGA TWLG_ORISSI TWLG_PUNJABI TWLG_PUSHTU

TWLG_SERBIAN_CYRILLIC

TWLG_SIKKIMI TWLG_SWEDISH_FINLAND TWLG_TAMIL TWLG_TELUGU TWLG_TRIPURI TWLG_URDU TWLG_VIETNAMESE

Containers

MSG_GET TW_ONEVALUE TW_ENUMERATION

MSG_GETCURRENT TW_ONEVALUE

MSG_GETDEFAULT TW_ONEVALUE

MSG_SET TW_ONEVALUE

MSG_SETCONSTRAINT TW_ONEVALUE

TW_ENUMERATION

MSG_RESET TW_ONEVALUE

MSG_QUERYSUPPORT TW_ONEVALUE

Required By

None

TWAIN Version Introduced

Version 1.8

Related

TWAIN Notice

Where would you like to scan from? Scan in Web Apps Scan in Java Scan in .NET