Administration Features and Functions > Regional Display Setting Control
Regional Display Setting Control
The language code associated with a QAD application user in User Maintenance (36.3.1) determines the language of strings displayed on the user interface. Other regional settings such as date and number format are determined in different ways, depending on which type of program or browse the user is executing.
QAD .NET UI screens displayed in the default Desktop mode—the mode using native  .NET technology—are formatted based on the regional settings of the user’s client PC, set by choosing Start|Control Panel|Regional and Language Options|Regional Options and editing the Standards and Formats section.
QAD .NET UI screens displayed in terminal or HTML mode as well as character UI screens always derive regional settings based on the country code associated with the user in User Maintenance and country-specific settings in the locale.dat file located in the application installation directory.
Typically, the settings in the locale.dat file and the available regional settings on the user’s computer are in agreement according to ISO locales. However, in some situations, this is not the case. This can result in inconsistent formatting depending on which type of screen the user is viewing. To avoid this inconsistency, a new setting can be used to control how the system applies regional settings.
For example, to configure settings for a user who wants to view screens in English but dates and numbers in the French format, follow these steps:
1 In User Maintenance (36.3.1), set the language to US and country code to FR.
2 Make sure the alternate country code for FR defined in Country Code Data Maintenance (2.14.1) is also the ISO code FR.
3 Edit the locale.dat file and add a line with the combination of settings that the user wants to be displayed. For example, for a user whose associated language is US and country is FR, locale.dat should include the following line:
Where US is the user’s language code, en is the ISO language code associated with US, FR is the ISO country code associated with the user’s country code, the optional variant is blank (indicated by ,,), dmy (day/month/year) is the date format, and European is the numeric format (period as the decimal separator; comma as the thousand separator).
4 In the client-session.xml file (located under TomcatInstallDir/webapps/qadhome), set the following new parameter to false:
The default setting is true, which results in the behavior seen in prior releases of the QAD .NET UI. When set to false, all types of UIs derive locale settings from the same locale.dat file, ensuring consistency regardless of which screen is being viewed.