v0.13.8

C_Intl

namespaceavailable in: camelot

Status in wowlua

27 functions: 1 implemented, 0 recorded, 26 guessed.

Functions

functionwhat it doesstatus
CompareStringsCompares two UTF-8 strings using the options specified on a collator.
(left: string, right: string, strength: CollationStrength): number?
guessed
CreateLocaleContextCreates a locale context object for locale-scoped internationalization operations.
(locale: string): LuaLocaleContext
implemented
FindBreaksOpens a break iterator for locating text boundaries in a specified locale.
(text: string, breakType: BreakType): number[]?
guessed
FindStringMatchesCreates a string search iterator using a collator and returns every match position.
(text: string, pattern: string, strength: CollationStrength): number[]?
guessed
FoldCaseCase-folds the characters in a string; case-folding is locale-independent and not context-sensitive.
(text: string): string?
guessed
FormatCurrencyFormats a double as a localized currency value using the provided ISO 4217 currency code.
(number: number, currencyCode: string): string?
guessed
FormatDateFormats Unix time as localized date text using locale date patterns, symbols, style, and optional time zone.
(unixTimeSeconds: number, style: DateTimeStyle, timeZone: string): string?
guessed
FormatDateTimeFormats Unix time as localized date and time text using locale patterns, symbols, styles, and optional time zone.
(unixTimeSeconds: number, dateStyle: DateTimeStyle, timeStyle: DateTimeStyle, timeZone: string): string?
guessed
FormatNumberFormats a double with locale number formatting using locale symbols, grouping, and the selected non-currency style.
(number: number, style: NumberStyle): string?
guessed
FormatTimeFormats Unix time as localized time text using locale time patterns, symbols, style, and optional time zone.
(unixTimeSeconds: number, style: DateTimeStyle, timeZone: string): string?
guessed
GetCharacterPropertiesReturns Unicode property values for the first code point in a string.
(text: string): CharacterProperties?
guessed
GetCurrencyFractionDigitsReturns the number of fraction digits that should be displayed for the given currency.
(currencyCode: string): number?
guessed
GetCurrencyNameReturns the display name for a currency in the given locale.
(currencyCode: string, nameStyle: CurrencyNameStyle): string?
guessed
GetCurrentLocaleGets the current locale used by C_Intl.
(): string
guessed
GetDisplayNameGets a display name suitable for the specified locale.
(displayLocale: string): string?
guessed
GetSortKeyTransforms a string into a collation sort key.
(text: string, strength: CollationStrength): string?
guessed
IsNormalizedTests if the string is normalized according to the specified normalization form.
(text: string, form: NormalizationForm): boolean
guessed
LengthCounts character break boundaries in UTF-8 text.
(text: string): number?
guessed
NormalizeWrites the normalized form of the source string to the destination string.
(text: string, form: NormalizationForm): string?
guessed
ParseCurrencyParses an entire localized currency string into a double amount and ISO 4217 currency code.
(text: string): CurrencyParseResult?
guessed
ParseNumberParses an entire localized number string into a double using the selected non-currency number formatter.
(text: string, style: NumberStyle): number?
guessed
SelectPluralReturns the keyword of the first plural rule that applies to a number.
(number: number, pluralType: PluralType): string?
guessed
ToLowerLowercases the characters in a string; casing is locale-dependent and context-sensitive.
(text: string): string?
guessed
ToTitleTitlecases a string using titlecase positions determined by the default Unicode algorithm.
(text: string): string?
guessed
ToUpperUppercases the characters in a string; casing is locale-dependent and context-sensitive.
(text: string): string?
guessed
TransformLocaleApplies a locale transform to the current locale and returns the transformed locale string.
(transform: LocaleTransform): string?
guessed
TransliterateOpens a system transliterator by ID and transliterates the text in place.
(text: string, transliteratorID: string): string?
guessed

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Intl system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.