QAD 2017 Enterprise Edition > User Guides > Reporting Framework > Administering Reports > Report Language Default Settings
  
Report Language Default Settings
Before running a report, users can choose the language in which to display the report from the Language pull-down in the Report Settings window (see Configuring Report Settings).
Since different system databases can have different label languages installed, the Language pull-down inspects the labels actually present in the system to determine the list of available languages. By default, any language that has at least 100 label terms in the system will be listed in the Language pull-down.
As a system administrator, you can change the default behavior by setting the following elements in the client session configuration (client-session.xml) file’s <ReportViewer>...<LanguageList> section:
<LabelRecordThreshold>100</LabelRecordThreshold> — Specifies the label term record threshold for allowing the language to be included on the pull-down. (Default is 100 label term records.) A setting of 0 specifies all supported languages, even if no label term records are installed.
<LanguageInclude erpCode=”LANG” isoCode=”ISO” /> — Specifies to include a language regardless of the <LabelRecordThreshold> setting, where LANG is the QAD language code and ISO is the corresponding ISO language code.
<LanguageExclude erpCode=”LANG” isoCode=”ISO” /> — Specifies to exclude a language regardless of the <LabelRecordThreshold> setting, where LANG is the QAD language code and ISO is the corresponding ISO language code.
For example, the following specifies to list all languages that have at least 100 label terms, except Arabic (Saudi Arabia) will be included regardless of how many label terms is has in the system and Italian (Switzerland) will be excluded regardless of how many label terms it has the system:
 
<ReportViewer>
<LanguageList>
<LabelRecordThreshold>100</LabelRecordThreshold>
<LanguageInclude erpCode="AR" isoCode="ar-sa" />
<LanguageExclude erpCode="IT" isoCode="it-ch" />
</LanguageList>
</ReportViewer>
Note: The <LanguageInclude> setting can also be used to correct the system for changes to the ISO language / locale codes. For example, the ISO code for Hebrew used to be iw-IL, but now is he-he. The system file that contains the language code mapping still has the old iw-IL, but the old setting will not work if the user selects the Hebrew language because .NET is up-to-date with the standard and no longer recognizes iw-IL. By adding the following, you can update the list to use the new ISO code:
<LanguageInclude erpCode="HE" isoCode="he-he" label="HEBREW"/>