mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Add a function to return a list of applicable locale names. (#95587,
2004-09-07 Matthias Clasen <mclasen@redhat.com> * glib/gutils.h: * glib/gutils.c (g_get_language_names): Add a function to return a list of applicable locale names. (#95587, Hidetoshi Tajima) (guess_category_value, compute_locale_variants): (explode_locale, unalias_lang, read_aliases): Helper functions for g_get_language_names() * tests/testglib.c (main): Show the results of g_get_language_names()
This commit is contained in:
committed by
Matthias Clasen
parent
463ac34744
commit
d209e108b1
@@ -451,6 +451,8 @@ main (int argc,
|
||||
sv = (gchar **) g_get_system_config_dirs ();
|
||||
g_print ("system_config: %s\n", s ? g_strjoinv (G_SEARCHPATH_SEPARATOR_S, sv) : "NULL!");
|
||||
g_print ("tmp-dir: %s\n", g_get_tmp_dir ());
|
||||
sv = (gchar **) g_get_language_names ();
|
||||
g_print ("languages: %s\n", s ? g_strjoinv (":", sv) : "NULL!");
|
||||
|
||||
/* type sizes */
|
||||
g_print ("checking size of gint8: %" G_GSIZE_FORMAT, sizeof (gint8));
|
||||
|
Reference in New Issue
Block a user