Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSLocaleMBS class.

NSLocaleMBS.alternateQuotationBeginDelimiter as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The alternate begin quotation symbol for the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.alternateQuotationBeginDelimiter+" "+l.alternateQuotationEndDelimiter

Examples of alternate begin quotation symbols include "‘", "‹", and "『".
(Read only property)

NSLocaleMBS.alternateQuotationEndDelimiter as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The alternate end quotation symbol for the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.alternateQuotationBeginDelimiter+" "+l.alternateQuotationEndDelimiter

Examples of alternate end quotation symbols include "’", "›", and "』".
(Read only property)

NSLocaleMBS.calendarIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The calendar identifier for the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.calendarIdentifier

Possible values are listed in Calendar Identifiers.
Use localizedStringForCalendarIdentifier() to obtain a version of the value suitable for display to the user.
(Read only property)

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
Var n as new NSLocaleMBS

MsgBox n.CollationIdentifier // shows "" in Germany

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

NSLocaleMBS.collatorIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The collator identifier for the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.collatorIdentifier+EndOfLine+l.collationIdentifier

An example collator identifier is "en".
Use localizedStringForCollatorIdentifier() to obtain a version of the value suitable for display to the user.
(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
Var 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
Var 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
Var 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
Var 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
Var 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
Var 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
Var 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.languageIdentifier as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the identifier for the language part of the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.languageIdentifier+EndOfLine+l.languageCode

For example, returns "en-US" for "en_US@rg=gbzzzz" locale.
(Read only property)

NSLocaleMBS.localeIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the identifier for the receiver.

The identifier for the receiver. This may not be the same string that the locale was created with, since NSLocale may canonicalize it.

Available in Mac OS X v10.4 and later.

Examples of locale identifiers include "en_GB", "es_ES_PREEURO", and "zh-Hant_HK_POSIX@collation=pinyin;currency=CNY".
(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
Var 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.quotationBeginDelimiter as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The begin quotation symbol associated with the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.quotationBeginDelimiter+" "+l.quotationEndDelimiter

The corresponding value is an NSString object; for example, "“", "„", "«", or "「".
(Read only property)

NSLocaleMBS.quotationEndDelimiter as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The end quotation symbol associated with the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.quotationBeginDelimiter+" "+l.quotationEndDelimiter

The corresponding value is an NSString object; for example, "”", "“", "»", or "」".
(Read only property)

NSLocaleMBS.regionCode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the region code of the locale.
Example
Var l As NSLocaleMBS = NSLocaleMBS.currentLocale
MessageBox l.regionCode

If the `rg` subtag is present, the value of the subtag will be used. For example, returns "GB" for "en_US@rg=gbzzzz" locale.
If the `localeIdentifier` doesn’t contain a region, returns empty string.
(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
Var 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
Var n as new NSLocaleMBS
Var 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
Var 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...