The
LanguageDescribed property is used to set the language used to compare and sort Unicode items (Unicode Text item or Unicode Text Memo item). You can:
- Find out the language parameters used for the comparisons and for the sort. This property can be used for a file defined in the data model editor or through programming. The modifications performed by the H.LanguageCreationUnicode variable are ignored. The date returned corresponds to the one specified when describing the item.
- Define the parameters of the language used for the comparisons and for the sort (when the item is described through programming). This property is equivalent to the Language property.
// Defines the sort language through programming
H.LanguageCreationUnicode = "FR" + TAB + "FR"
// Creates the data file
HCreation(Customer)
// Returns the language defined in the analysis
Trace("LanguageDescribed: " + Customer.LastNameFirstName.LanguageDescribed)
Syntax
Finding out the language parameters Hide the details
<Language parameters> = <Data file>.<Item>.LanguageDescribed
<Language settings>: 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>
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##").
- "Binary sort", <Language parameters> will correspond to the hLanguageBinarySort constant (or to "##BINARY##"+TAB+"##BINARY##"+TAB+"##BINARY##").
- "Fast sort (multilingual)", <Language parameters> will correspond to the hLanguageFastSort constant (or to "##FASTSORT##"+TAB+"##FASTSORT##"+TAB+"##FASTSORT##").
<Data file>: Character string
Name of the file used. This name was defined in the data model editor or with the File Description type.
<Item>: Character string
Name of the item used. This name was defined in the data model editor or with the Item Description type.
Remarks
Identifiers of the language
The identifiers used for the languages are as follows:
| |
Identifier - Language | Identifier - Language |
AR - Arabic | AS - Assamese |
BE - Byelorussian | BG - Bulgarian |
CA - Catalan | CS - Czech |
DA - Danish | DE - German |
EL - Modern Greek | EN - English |
ES - Spanish | ET - Estonian |
FA - Farsi | FI - Finnish |
FO - Faeroese | FR - French |
GA - Irish | GU - Gujarati |
HE - Hebrew | HI - Hindi |
HR - Croatian | HU - Hungarian |
ID - Indonesian | IN - Indonesian |
IS - Icelandic | IT - Italian |
IW - Hebrew | JA - Japanese |
KK - Kazakh | KL - Greenlandic |
KN - Kannada | KO - Korean |
LT - Lithuanian | LV - Latvian |
MK - Macedonian | MR - Marathi |
MS - Malay | MT - Maltese |
NB - Norwegian bokmål | NL - Dutch |
NN - Norwegian nynorsk | OM - Galla |
PA - Punjabi | PL - Polish |
PS - Patcho | PT - Portuguese |
RO - Romanian | RU - Russian |
SH - Latin Serbian | SK - Slovakian |
SL - Slovenian | SQ - Albanian |
SR - Serbian | SV - Swedish |
TA - Tamil | TE - Telugu |
TH - Thai | TR - Turkish |
UK - Ukrainian | VI - Vietnamese |
ZH - Chinese | |
Identifiers of countries
The identifiers used for the countries are as follows:
| | |
Identifier - Country | Identifier - Country | Identifier - Country |
AE - United Arab Emirates | AF - Afghanistan | AL - Albania |
AR - Argentina | AT - Austria | AU - Australia |
BA - Bosnia-Herzegovina | BE - Belgium | BG - Bulgaria |
BH - Bahrain | BN - Brunei | BO - Bolivia |
BR - Brazil | BW - Botswana | BY - Belarus |
CA - Canada | CH - Switzerland | CL - Chile |
CN - China | CO - Colombia | CR - Costa Rica |
CZ - Czech Republic | DE - Germany | DK - Denmark |
DO - Dominican Republic | DZ - Algeria | EC - Ecuador |
EE - Estonia | EG - Egypt | ES - Spain |
ET - Ethiopia | FI - Finland | FO - Faroe Islands |
FR - France | GB - Great Britain | GL - Greenland |
GR - Greece | GT - Guatemala | HK - Hong Kong |
HN - Honduras | HR - Croatia | HU - Hungary |
ID - Indonesia | IE - Ireland | IL - Israel |
IN - India | IQ - Iraq | IR - Iran |
IS - Iceland | IT - Italy | JO - Jordan |
JP - Japan | KE - Kenya | KR - South Korea |
KW - Kuwait | KZ - Kazakhstan | LB - Lebanon |
LT - Lithuania | LU - Luxembourg | LV - Latvia |
LY - Libya | MA - Morocco | MK - Macedonia |
MO - Macau | MT - Malta | MX - Mexico |
MY - Malaysia | NI - Nicaragua | NL - Netherlands |
NO - Norway | NZ - New Zealand | OM - Oman |
PA - Panama | PE - Peru | PH - Philippines |
PL - Poland | PR - Puerto Rico | PT - Portugal |
PY - Paraguay | QA - Qatar | RO - Romania |
RU - Russian | SA - Saudi Arabia | SD - Sudan |
SE - Sweden | SG - Singapore | SI - Slovenia |
SK - Slovakia | SV - El Salvadore | SY - Syria |
TH - Thailand | TN - Tunisia | TR - Turkey |
TW - Taiwan | UA - Ukraine | US - Unites States |
UY - Uruguay | VE - Venezuela | VI - Virgin Islands of the United States |
VN - Viet Nam | YE - Yemen | YU - Bosnia-Herzegovina |
ZA - South Africa | ZW - Zimbabwe | |
Variants
The variants are as follows:
| |
Variant | Explanation |
PHONEBOOK | Variant of German |
POSIX | Variant of English for the Unites States |
TRADITIONAL | Variant of Spanish |
DIRECT | Variant of Hindi |
STROKE | Variant of Chinese from Taiwan |
PINYIN | Variant of Chinese from China |