logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

m17nLocale_-_Lo - - Locale objects and API for them.

Author

       Generated automatically by Doxygen for The m17n Library from the source code.

Detailed Description

       Locale objects and API for them.

       The m17n library represents locale related information as objects of type MLocale.

Name

       m17nLocale_-_Lo -  - Locale objects and API for them.

Synopsis

Typedefs
       typedef struct MLocaleMLocale
           struct MLocale.

   FunctionsMPlist * mlanguage_list (void)
           List 3-letter language codes.
       MSymbol mlanguage_code (MSymbol language, int len)
           Get a language code.
       MPlist * mlanguage_name_list (MSymbol language, MSymbol target, MSymbol script, MSymbol territory)
           Return the language names written in the specified language.
       MText * mlanguage_text (MSymbol language)
           Return the language name written in that language.
       MPlist * mscript_list (void)
           List script names.
       MPlist * mscript_language_list (MSymbol script)
           List languages that use a specified script.
       MLocale * mlocale_set (int category, const char *name)
           Set the current locale.
       MSymbol mlocale_get_prop (MLocale *locale, MSymbol key)
           Get the value of a locale property.
       int mtext_ftime (MText *mt, const char *format, const struct tm *tm, MLocale *locale)
           Format date and time.
       MText * mtext_getenv (const char *name)
           Get an environment variable.
       int mtext_putenv (MText *mt)
           Change or add an environment variable.
       int mtext_coll (MText *mt1, MText *mt2)
           Compare two M-texts using the current locale.

   Variables
       MSymbol Miso639_1
       MSymbol Miso639_2
       MSymbol Mterritory
       MSymbol Mmodifier
       MSymbol Mcodeset

Typedef Documentation

typedefstructMLocaleMLocale
       struct MLocale. The structure MLocale is used to hold information about name, language, territory,
       modifier, codeset, and the corresponding coding system of locales.

       The contents of this structure are implementation dependent. Its internal structure is concealed from
       application programs.

       SEEALSOmlocale_get_prop()

Variable Documentation

MSymbolMiso639_1MSymbolMiso639_2MSymbolMterritory
       The symbol whose name is 'territory'.

   MSymbolMmodifier
       The symbol whose name is 'modifier'.

   MSymbolMcodeset
       The symbol whose name is 'codeset'.

See Also