intlOpenLocale

Gains access to a locale item.

Synopsis

Item intlOpenLocale(const TagArg *tags);

Description

This function returns a locale item. You can then use intlLookupLocale() to gain access to the localization information within the locale item. This information enables software to adapt to different languages and customs automatically at run-time, thus creating truly international software.

Arguments

tags
A pointer to an array of tag arguments containing extra data for this function. This must currently always be NULL.

Return Value

The function returns the item number of a locale. You can use intlLookupLocale() to get a pointer to the locale structure, which contains localization information.

Implementation

Macro implemented in intl.h V24.

Associated Files

intl.h

Notes

Once you are finished with the locale item, you should call intlCloseLocale().

See Also

intlCloseLocale(), intlLookupLocale()