53
53
<title>Details</title>
55
55
<title><anchor id="gnome-i18n-get-language-list"/>gnome_i18n_get_language_list ()</title>
56
<indexterm><primary>gnome_i18n_get_language_list</primary></indexterm><programlisting>const <link linkend="GList">GList</link>* gnome_i18n_get_language_list (const <link linkend="gchar">gchar</link> *category_name);</programlisting>
56
<indexterm role="deprecated"><primary>gnome_i18n_get_language_list</primary></indexterm><programlisting>const <link linkend="GList">GList</link>* gnome_i18n_get_language_list (const <link linkend="gchar">gchar</link> *category_name);</programlisting>
57
57
<warning><para><literal>gnome_i18n_get_language_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
59
This function is deprecated. You should be using <link linkend="g-get-language-names"><function>g_get_language_names()</function></link> instead.
59
62
This computes a list of language strings that the user wants. It searches in
60
63
the standard environment variables to find the list, which is sorted in order
61
64
from most desirable to least desirable. The `C' locale is appended to the
62
65
list if it does not already appear (other routines depend on this
63
behaviour). If <parameter>category_name</parameter> is <literal>NULL</literal>, then <literal>LC_ALL</literal> is assumed.</para>
69
The <parameter>ignored</parameter> argument used to be the category name to use, but this was
70
removed since there is only one useful thing to pass here. For further
71
details, see http://bugzilla.gnome.org/show_bug.cgi?id=168948</para>
66
74
</para><variablelist role="params">
67
75
<varlistentry><term><parameter>category_name</parameter> :</term>
68
<listitem><simpara> Name of category to look up, e.g. %"LC_MESSAGES".
69
77
</simpara></listitem></varlistentry>
70
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the list of languages, this list should not be freed as it is
78
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the list of languages, this list should not be freed as it is
71
79
owned by gnome-i18n.
72
80
</simpara></listitem></varlistentry>
73
81
</variablelist></refsect2>
75
83
<title><anchor id="gnome-i18n-push-c-numeric-locale"/>gnome_i18n_push_c_numeric_locale ()</title>
76
<indexterm><primary>gnome_i18n_push_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link> gnome_i18n_push_c_numeric_locale
84
<indexterm role="deprecated"><primary>gnome_i18n_push_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link> gnome_i18n_push_c_numeric_locale
77
85
(void);</programlisting>
78
86
<warning><para><literal>gnome_i18n_push_c_numeric_locale</literal> is deprecated and should not be used in newly-written code.</para></warning>
91
99
<title><anchor id="gnome-i18n-pop-c-numeric-locale"/>gnome_i18n_pop_c_numeric_locale ()</title>
92
<indexterm><primary>gnome_i18n_pop_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link> gnome_i18n_pop_c_numeric_locale (void);</programlisting>
100
<indexterm role="deprecated"><primary>gnome_i18n_pop_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link> gnome_i18n_pop_c_numeric_locale (void);</programlisting>
93
101
<warning><para><literal>gnome_i18n_pop_c_numeric_locale</literal> is deprecated and should not be used in newly-written code.</para></warning>
95
103
Restores the LC_NUMERIC locale to what it was