C_Intl
namespaceavailable in: camelotStatus in wowlua
27 functions: 1 implemented, 0 recorded, 26 guessed.
Functions
| function | what it does | status |
|---|---|---|
CompareStrings | Compares two UTF-8 strings using the options specified on a collator.(left: string, right: string, strength: CollationStrength): number? | guessed |
CreateLocaleContext | Creates a locale context object for locale-scoped internationalization operations.(locale: string): LuaLocaleContext | implemented |
FindBreaks | Opens a break iterator for locating text boundaries in a specified locale.(text: string, breakType: BreakType): number[]? | guessed |
FindStringMatches | Creates a string search iterator using a collator and returns every match position.(text: string, pattern: string, strength: CollationStrength): number[]? | guessed |
FoldCase | Case-folds the characters in a string; case-folding is locale-independent and not context-sensitive.(text: string): string? | guessed |
FormatCurrency | Formats a double as a localized currency value using the provided ISO 4217 currency code.(number: number, currencyCode: string): string? | guessed |
FormatDate | Formats Unix time as localized date text using locale date patterns, symbols, style, and optional time zone.(unixTimeSeconds: number, style: DateTimeStyle, timeZone: string): string? | guessed |
FormatDateTime | Formats 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 |
FormatNumber | Formats a double with locale number formatting using locale symbols, grouping, and the selected non-currency style.(number: number, style: NumberStyle): string? | guessed |
FormatTime | Formats Unix time as localized time text using locale time patterns, symbols, style, and optional time zone.(unixTimeSeconds: number, style: DateTimeStyle, timeZone: string): string? | guessed |
GetCharacterProperties | Returns Unicode property values for the first code point in a string.(text: string): CharacterProperties? | guessed |
GetCurrencyFractionDigits | Returns the number of fraction digits that should be displayed for the given currency.(currencyCode: string): number? | guessed |
GetCurrencyName | Returns the display name for a currency in the given locale.(currencyCode: string, nameStyle: CurrencyNameStyle): string? | guessed |
GetCurrentLocale | Gets the current locale used by C_Intl.(): string | guessed |
GetDisplayName | Gets a display name suitable for the specified locale.(displayLocale: string): string? | guessed |
GetSortKey | Transforms a string into a collation sort key.(text: string, strength: CollationStrength): string? | guessed |
IsNormalized | Tests if the string is normalized according to the specified normalization form.(text: string, form: NormalizationForm): boolean | guessed |
Length | Counts character break boundaries in UTF-8 text.(text: string): number? | guessed |
Normalize | Writes the normalized form of the source string to the destination string.(text: string, form: NormalizationForm): string? | guessed |
ParseCurrency | Parses an entire localized currency string into a double amount and ISO 4217 currency code.(text: string): CurrencyParseResult? | guessed |
ParseNumber | Parses an entire localized number string into a double using the selected non-currency number formatter.(text: string, style: NumberStyle): number? | guessed |
SelectPlural | Returns the keyword of the first plural rule that applies to a number.(number: number, pluralType: PluralType): string? | guessed |
ToLower | Lowercases the characters in a string; casing is locale-dependent and context-sensitive.(text: string): string? | guessed |
ToTitle | Titlecases a string using titlecase positions determined by the default Unicode algorithm.(text: string): string? | guessed |
ToUpper | Uppercases the characters in a string; casing is locale-dependent and context-sensitive.(text: string): string? | guessed |
TransformLocale | Applies a locale transform to the current locale and returns the transformed locale string.(transform: LocaleTransform): string? | guessed |
Transliterate | Opens 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 ↗.