PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Identifiers of the language
  • Identifiers of countries
  • Variants
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Language (Property)
In french: Langue
ODBCNative Connectors (Native Accesses)Not available with these kinds of connection
..Language is used to manage the language used to perform the comparisons and the sort for the Unicode items (Unicode Text item or Unicode Text Memo item). You can:
  • Find out the language parameters used at run time for the comparisons and for the sort. This property can be used for an item defined in the data model editor or defined by programming. The modifications performed by the H.LanguageCreationUnicode variable are taken into account.
  • Define the parameters of the language used for the comparisons and for the sort (when the item is described by programming). In this case, this property is equivalent to ..LanguageDescribed.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Returns the language of the item
Trace("Language used in the data file: ") + Customer.Name..Language
Syntax

Finding out the language parameters Hide the details

<Language parameters> = <File name>.<Item name>..Language
<Language parameters>: Character string
Characteristics of the language used for the comparisons and for the sort, in the following format:
<Language identifier> + TAB + <Country identifier> + TAB + <Variant>

If the language parameters have been defined in the analysis as being:
  • "Defined at creation", <Language parameters> will correspond to the hLanguageCreation constant (or to "##CREATION##"+TAB+"##CREATION##"+TAB+"##CREATION##").
  • Versions 17 and later
    "Binary sort", <Language parameters> will correspond to the hLanguageBinarySort constant (or to "##BINARY##"+TAB+"##BINARY##"+TAB+"##BINARY##").
    New in version 17
    "Binary sort", <Language parameters> will correspond to the hLanguageBinarySort constant (or to "##BINARY##"+TAB+"##BINARY##"+TAB+"##BINARY##").
    "Binary sort", <Language parameters> will correspond to the hLanguageBinarySort constant (or to "##BINARY##"+TAB+"##BINARY##"+TAB+"##BINARY##").
  • Versions 17 and later
    "Fast sort (multilingual)", <Language parameters> will correspond to the hLanguageFastSort constant (or to "##FASTSORT##"+TAB+"##FASTSORT##"+TAB+"##FASTSORT##").
    New in version 17
    "Fast sort (multilingual)", <Language parameters> will correspond to the hLanguageFastSort constant (or to "##FASTSORT##"+TAB+"##FASTSORT##"+TAB+"##FASTSORT##").
    "Fast sort (multilingual)", <Language parameters> will correspond to the hLanguageFastSort constant (or to "##FASTSORT##"+TAB+"##FASTSORT##"+TAB+"##FASTSORT##").
<File name>: Character string (with or without quotes)
Name of the file used. This name was defined in the data model editor or by the File description type.
<Item name>: Character string (with or without quotes)
Name of item used. This name was defined in the data model editor or by the Item Description type.
iPhone/iPadWindows MobileUniversal Windows 10 App

Defining the language parameters (item described by programming) Hide the details

<Item name>..Language = <Language parameters>
<Item name>: Character string (with or without quotes)
Name of item used. This name was defined by the Item Description type.
<Language parameters>: Character string
Characteristics of the language that will be used for the comparisons and for the sort, in the following format:
<Language identifier> + TAB + <Country identifier> + TAB + <Variant>

Versions 17 and later
  • To use a binary sort, <Language parameters> must correspond to the hLanguageBinarySort constant (or to "##BINARY##"+TAB+"##BINARY##"+TAB+"##BINARY##").
  • To use a fast sort, <Language parameters> must correspond to the hLanguageFastSort constant (or to "##FASTSORT##"+TAB+"##FASTSORT##"+TAB+"##FASTSORT##").
New in version 17
  • To use a binary sort, <Language parameters> must correspond to the hLanguageBinarySort constant (or to "##BINARY##"+TAB+"##BINARY##"+TAB+"##BINARY##").
  • To use a fast sort, <Language parameters> must correspond to the hLanguageFastSort constant (or to "##FASTSORT##"+TAB+"##FASTSORT##"+TAB+"##FASTSORT##").
  • To use a binary sort, <Language parameters> must correspond to the hLanguageBinarySort constant (or to "##BINARY##"+TAB+"##BINARY##"+TAB+"##BINARY##").
  • To use a fast sort, <Language parameters> must correspond to the hLanguageFastSort constant (or to "##FASTSORT##"+TAB+"##FASTSORT##"+TAB+"##FASTSORT##").
Remarks

Identifiers of the language

The identifiers used for the languages are as follows:
Identifier - LanguageIdentifier - Language
AR - ArabicAS - Assamese
BE - ByelorussianBG - Bulgarian
CA - CatalanCS - Czech
DA - DanishDE - German
EL - Modern GreekEN - English
ES - SpanishET - Estonian
FA - FarsiFI - Finnish
FO - FaroeseFR - French
GA - IrishGU - Gujarati
HE - HebrewHI - Hindi
HR - CroatianHU - Hungarian
ID - IndonesianIN - Indonesian
IS - IcelandicIT - Italian
IW - HebrewJA - Japanese
KK - KazakhKL - Greenlandic
KN - KannadaKO - Korean
LT - LithuanianLV - Latvian
MK - MacedonianMR - Marathi
MS - MalayMT - Maltese
NB - Norwegian bokmålNL - Dutch
NN - Norwegian nynorskOM - Galla
PA - PunjabiPL - Polish
PS - PatchoPT - Portuguese
RO - RomanianRU - Russian
SH - Latin SerbianSK - Slovakian
SL - SlovenianSQ - Albanian
SR - SerbianSV - Swedish
TA - TamilTE - Telugu
TH - ThaiTR - Turkish
UK - UkrainianVI - Vietnamese
ZH - Chinese

Identifiers of countries

The identifiers used for the countries are as follows:
Identifier - CountryIdentifier - CountryIdentifier - Country
AE - United Arab EmiratesAF - AfghanistanAL - Albania
AR - ArgentinaAT - AustriaAU - Australia
BA - Bosnia-HerzegovinaBE - BelgiumBG - Bulgaria
BH - BahrainBN - BruneiBO - Bolivia
BR - BrazilBW - BotswanaBY - Belarus
CA - CanadaCH - SwitzerlandCL - Chile
CN - ChinaCO - ColombiaCR - Costa Rica
CZ - Czech RepublicDE - GermanyDK - Denmark
DO - Dominican RepublicDZ - AlgeriaEC - Ecuador
EE - EstoniaEG - EgyptES - Spain
ET - EthiopiaFI - FinlandFO - Faroe Islands
FR - FranceGB - Great BritainGL - Greenland
GR - GreeceGT - GuatemalaHK - Hong Kong
HN - HondurasHR - CroatiaHU - Hungary
ID - IndonesiaIE - IrelandIL - Israel
IN - IndiaIQ - IraqIR - Iran
IS - IcelandIT - ItalyJO - Jordan
JP - JapanKE - KenyaKR - South Korea
KW - KuwaitKZ - KazakhstanLB - Lebanon
LT - LithuaniaLU - LuxembourgLV - Latvia
LY - LibyaMA - MoroccoMK - Macedonia
MO - MacauMT - MaltaMX - Mexico
MY - MalaysiaNI - NicaraguaNL - Netherlands
NO - NorwayNZ - New ZealandOM - Oman
PA - PanamaPE - PeruPH - Philippines
PL - PolandPR - Puerto RicoPT - Portugal
PY - ParaguayQA - QatarRO - Romania
RU - RussianSA - Saudi ArabiaSD - Sudan
SE - SwedenSG - SingaporeSI - Slovenia
SK - SlovakiaSV - El SalvadoreSY - Syria
TH - ThailandTN - TunisiaTR - Turkey
TW - TaiwanUA - UkraineUS - Unites States
UY - UruguayVE - VenezuelaVI - Virgin Islands of the United States
VN - Viet NamYE - YemenYU - Bosnia-Herzegovina
ZA - South AfricaZW - Zimbabwe

Variants

The variants are as follows:
VariantsExplanation
PHONEBOOKVariant of German
POSIXVariant of English for the Unites States
TRADITIONALVariant of Spanish
DIRECTVariant of Hindi
STROKEVariant of Chinese from Taiwan
PINYINVariant of Chinese from China
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment