Store Content in IDOL Server > Language Support > Associate Language Types with Documents > Documents that Contain Field Data that can Identify Language

Documents that Contain Field Data that can Identify Language
Use the following procedure to set up languages if all the documents that you want to index into IDOL server contain a field that contains data that you can use to identify the language type.
To configure IDOL server to identify languages from field data
1.
Use the [FieldProcessing] section of IDOL server's configuration file to define each language property you want IDOL server to be able to detect.
For example:
[FieldProcessing]
0=DetectArabic
1=DetectEnglish
2=DetectChSimplified
3=DetectChTraditional
4=DetectFrench
2.
Define a section with the name of the respective language type for each of the languages you defined in the [FieldProcessing] section. In this section, specify the fields that IDOL server must look for and the values that those fields must have to recognize the document as a particular language type.
For example:
[DetectArabic]
Property=SetArabicProperty
PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
PropertyMatch=arabic
[DetectEnglish]
Property=SetEnglishProperty
PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
PropertyMatch=*eng*,uk,*british
[DetectChSimplified]
Property=SetChSimplifiedProperty
PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
PropertyMatch=*ChSimp*,ChineseSimp*
[DetectChTraditonal]
Property=SetChTraditionalProperty
PropertyFieldCSVs=*/DRELANGUAGETYPE,*/LANG
PropertyMatch=*ChTrad*,ChineseTrad*
[DetectFrench]
Property=SetFrenchProperty
PropertyFieldCSVs=*/DRELANGUAGETYPE, */DRELANGAGETYPE,*/LANG
PropertyMatch=*fre*,fran*
3.
Define a section with the same value of the respective property for each Property you defined in the [FieldProcessing] subsections. In this section, you can then specify the language type (which you also need to list in IDOL server's [LanguageTypes] section where you define how you want IDOL server to handle the individual languages).
For example:
[SetArabicProperty]
LanguageType=Arabic
HiddenType=TRUE
[SetEnglishProperty]
LanguageType=English
HiddenType=TRUE
[SetChSimplifiedProperty]
LanguageType=ChSimplified
HiddenType=TRUE
[SetChTraditionalProperty]
LanguageType=ChTraditional
HiddenType=TRUE
[SetFrenchProperty]
LanguageType=French
HiddenType=TRUE
4.
5.
Related Topics 
*