Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSLocaleMBS class.

NSLocaleMBS.NSBuddhistCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Buddhist calendar.
Available in Mac OS X v10.4 and later.

NSLocaleMBS.NSChineseCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Chinese calendar (unsupported).

Note that the Chinese calendar is not supported in Mac OS X v10.4-10.5. Although you can create a calendar using this constant, the object will not function correctly.

Available in Mac OS X v10.4 and later.

NSLocaleMBS.NSCurrentLocaleDidChangeNotification as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 24.3 ✅ Yes ❌ No ❌ No ✅ Yes All
A notification that indicates that the user’s locale changed.

Register for this notification if your app displays content (dates, times, numbers, and so on) that is affected by the locale. Use the notification to trigger updates to your app's interface.

NSLocaleMBS.NSGregorianCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Gregorian calendar.
Available in Mac OS X v10.4 and later.

NSLocaleMBS.NSHebrewCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Hebrew calendar.

Available in Mac OS X v10.4 and later.

NSLocaleMBS.NSIndianCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Indian calendar

Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSIslamicCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Islamic calendar.

Available in Mac OS X v10.4 and later.

NSLocaleMBS.NSIslamicCivilCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Islamic civil calendar.

Available in Mac OS X v10.4 and later.

NSLocaleMBS.NSISO8601Calendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the ISO8601. The ISO8601 calendar is not yet implemented.

Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSJapaneseCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Japanese calendar.
Available in Mac OS X v10.4 and later.

NSLocaleMBS.NSLocaleAlternateQuotationBeginDelimiterKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

The key for the alternating begin quotation symbol associated with the locale. In some locales, when quotations are nested, the quotation characters alternate. Thus, NSLocaleQuotationBeginDelimiterKey, then NSLocaleAlternateQuotationBeginDelimiterKey, etc.

The corresponding value is a string.
Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSLocaleAlternateQuotationEndDelimiterKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

The key for the alternating enda quotation symbol associated with the locale. In some locales, when quotations are nested, the quotation characters alternate. Thus, NSLocaleQuotationEndDelimiterKey, then NSLocaleAlternateQuotationEndDelimiterKey, etc.

The corresponding value is a string.

Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSLocaleCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

NSLocaleMBS.NSLocaleCollationIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleCollatorIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

The key for the collation identifier for the locale.
The corresponding value is a string. If unknown, "" is returned.
Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSLocaleCountryCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleCurrencyCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleCurrencySymbol as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleDecimalSeparator as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleExemplarCharacterSet as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleGroupingSeparator as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.
Example
Var n as new NSLocaleMBS("de")

MsgBox n.displayName(n.NSLocaleIdentifier, "en")

Some examples using this method:

NSLocaleMBS.NSLocaleLanguageCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleMeasurementSystem as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleQuotationBeginDelimiterKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

The key for the begin quotation symbol associated with the locale.
The corresponding value is a string.
Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSLocaleQuotationEndDelimiterKey as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

The key for the begin quotation symbol associated with the locale.
The corresponding value is string.
Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSLocaleScriptCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleUsesMetricSystem as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSLocaleVariantCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.1 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the constants for the displayName and GetString functions.

NSLocaleMBS.NSPersianCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Persian calendar.
Available in Mac OS X v10.6 and later.

NSLocaleMBS.NSRepublicOfChinaCalendar as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Currency, Date and Time Format MBS MacBase Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the calendar indentifiers.

Identifier for the Republic of China (Taiwan) calendar.

A Chinese calendar can be created, and one can do calendrical calculations with it, but it should not be used for formatting as the necessary underlying functionality is not functioning correctly yet.

Available in Mac OS X v10.6 and later.

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


The biggest plugin in space...