Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSLocaleMBS class.

NSLocaleMBS.CollationIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The collation associated with the locale.
Example
dim n as new NSLocaleMBS

MsgBox n.CollationIdentifier // shows "" in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.CountryCode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The country code.
Example
dim n as new NSLocaleMBS

MsgBox n.CountryCode // shows "DE" in Germany

An example value might be "ES".
Available in Mac OS X v10.4 and later.

This code here is the country where the number and date settings belong to. This is not the language the user has. To get the languages, check the preferredLanguages array.
(Read only property)

NSLocaleMBS.CurrencyCode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The currency code associated with the locale.
Example
dim n as new NSLocaleMBS

MsgBox n.CurrencyCode // shows "EUR" in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.CurrencySymbol as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The currency symbol associated with the locale.
Example
dim n as new NSLocaleMBS

MsgBox n.CurrencySymbol // shows "€" in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.DateFull as NSLocaleDateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The full date format.

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.DateLong as NSLocaleDateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The long date format.

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.DateMedium as NSLocaleDateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The medium date format.

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.DateShort as NSLocaleDateMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The short date format.
Example
MsgBox NSLocaleMBS.currentLocale.DateShort.dateFormat
// in Germany: "dd.MM.yy"

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.DecimalSeparator as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The decimal separator associated with the locale.
Example
dim n as new NSLocaleMBS

MsgBox n.DecimalSeparator // shows "," in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.GroupingSeparator as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The numeric grouping separator associated with the locale.
Example
dim n as new NSLocaleMBS

MsgBox n.GroupingSeparator // shows "." in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.Identifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The locale identifier.
Example
dim n as new NSLocaleMBS

MsgBox n.Identifier // shows "de_DE" in Germany

An example value might be "es_ES_PREEURO".
Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.LanguageCode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The language code.
Example
dim n as new NSLocaleMBS

MsgBox n.LanguageCode // shows "de" in Germany

An example value might be "es".
Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.MeasurementSystem as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The measurement system associated with the locale.
Example
dim n as new NSLocaleMBS

MsgBox n.MeasurementSystem // shows "Metric" in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.NumberCurrency as NSLocaleNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The currency style for number formatting.

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.NumberDecimal as NSLocaleNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Specifies a decimal style for numbers.

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.NumberPercent as NSLocaleNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The percent style for number formatting.

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.NumberScientific as NSLocaleNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Specifies a scientific style for numbers.

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.NumberSpellOut as NSLocaleNumberMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Specifies a spell-out format; for numbers, "23" becomes "twenty-three".

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.ScriptCode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The locale script code.
Example
dim n as new NSLocaleMBS

MsgBox n.ScriptCode // shows "" in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.UsesMetricSystem as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The flag that indicates whether the locale uses the metric system.
Example
dim n as new NSLocaleMBS
dim v as Variant

v=n.UsesMetricSystem
MsgBox v // shows "True" in Germany

Available in Mac OS X v10.4 and later.
(Read only property)

NSLocaleMBS.VariantCode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 7.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The locale variant code.
Example
dim n as new NSLocaleMBS

MsgBox n.VariantCode // shows "" in Germany

An example value might be "PREEURO".
Available in Mac OS X v10.4 and later.
(Read only property)

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...