The KEY_LANGUAGE element instructs the MDEX Engine to treat values from a specified dimension or property as values from a specified language.
The NAME attribute specifies the dimension or property. The LANGUAGE attribute specifies the code for the language. This association is useful when Endeca records in a number of languages are handled by a single dgraph instance.
<!ELEMENT KEY_LANGUAGE EMPTY> <!ATTLIST KEY_LANGUAGE NAME CDATA #REQUIRED LANGUAGE CDATA #REQUIRED >
The following section describes the KEY_LANGUAGE element's attributes.
NAME
Specifies either a dimension or a property name to associate with a LANGUAGE value.
LANGUAGE
The KEY_LANGUAGE element has no sub-elements.
This example instructs the MDEX Engine to treat values in dimension called "Title_English" as English language values, and treat values in dimension called "Title_Spanish" as Spanish language values.
<LANGUAGES> <KEY_LANGUAGE NAME="Title_English" LANGUAGE="en"/> <KEY_LANGUAGE NAME="Title_Spanish" LANGUAGE="es"/> </LANGUAGES>