# Modifying regional settings for applications and scripts

By default, applications and scripts you create will use the regional settings you specify in your profile in Settings and Management. You can edit or change these in the load script of your application or script.

All new applications and scripts have section in the load script called Main. Main contains SET functions with variables for the regional settings. These set the formats for money, dates, and decimals, as well as the localization names of days and months based on the regional settings set in your profile. For information on setting regional preferences, see [Setting your preferred regional settings for creating apps and scripts in Qlik Cloud Analytics](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/UserInterface/Languages.htm#Setting).

Main, with regional settings variables

Main, with regional settings variables

MainMain, with regional settings variablesvariables ![The automatically generated Main section of Data load editor, with regional settings](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/ui_main-regional-settings.png)

You can modify the variable values in Data load editor to change regional settings.

The following number formatting variables are available

* ThousandSep: This defines the separator used to mark thousands. For more information, see [ThousandSep](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/ThousandSep.htm).

* DecimalSep: This defines the punctuation used to mark decimals. For more information, see [DecimalSep](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/DecimalSep.htm).

* NumericalAbbreviation: This defines numerical abbreviations for large and small numbers. For more information, see [NumericalAbbreviation](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/NumericalAbbreviation.htm).

The following currency formatting variables are available:

* MoneyThousandSep : This defines the separator used for thousands. For more information, see [MoneyThousandSep](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MoneyThousandSep.htm).

* MoneyDecimalSep ; This defines the punctuation used to mark decimals in currency. For more information, see [MoneyDecimalSep](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MoneyDecimalSep.htm).

* MoneyFormat: this defines the currency symbol and format. For more information, see [MoneyFormat](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MoneyFormat.htm).

The following time formatting variables are available:

* TimeFormat: This defines the time format for the application. For more information, see [TimeFormat](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/TimeFormat.htm).

* DateFormat: This defines the date format for the application. For more information, see [DateFormat](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/DateFormat.htm).

* TimestampFormat: This defines the data and time format for timestamps in the application. For more information, see [TimestampFormat](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/TimestampFormat.htm).

* FirstWeekDay: This defines which day should be defined as the first day of the week. For more information, see [FirstWeekDay](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/FirstWeekDay.htm).

* BrokenWeeks: This defines if weeks are broken over years or not. For more information, see [BrokenWeeks](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/BrokenWeeks.htm).

* ReferenceDay: This defines which day in January to set as a reference day to define week 1 of the year. For more information, see [ReferenceDay](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/ReferenceDay.htm).

* FirstMonthOfYear: This defines which month to use as the first month of the year. For more information, see [FirstMonthOfYear](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/number-interpretation-variables.htm#FirstMon).

* MonthNames: This defines the short forms of month names used in the application. For more information, see [MonthNames](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/MonthNames.htm).

* LongMonthNames: This defines the long form of month names used in the application. For more information, see [LongMonthNames](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/LongMonthNames.htm).

* DayNames: This defines the short form of day names used in the application. For more information, see [DayNames](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/DayNames.htm).

* LongDayNames: This defines the long form of day names used in the application. For more information, see [LongDayNames](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/NumberInterpretationVariables/LongDayNames.htm).

The following variable is available for sort order and search matching:

* CollationLocale: Specifies which locale to use for sort order and search matching. The value is the culture name of a locale, for example 'en-US'.