3 <TITLE>GNU.Gettext.GettextResourceManager Class
</TITLE>
5 <BODY BGCOLOR=
"#FFFFFF">
6 <H3>GNU.Gettext.GettextResourceManager Class
</H3>
9 <TABLE COLS=
"1" ROWS=
"1" WIDTH=
"100%">
10 <TR><TD BGCOLOR=
"#C0C0C0"><PRE>public class GettextResourceManager: System.Resources.ResourceManager
</PRE></TD></TR>
17 System.Resources.ResourceManager
<BR>
18 GettextResourceManager
<P>
32 Each instance of this class can be used to lookup translations for a
33 given resource name. For each
<CODE>CultureInfo
</CODE>, it performs the lookup
34 in several assemblies, from most specific over territory-neutral to
41 <A HREF=
"GNU_Gettext.html" TARGET=
"members">GNU.Gettext Namespace
</A>
49 GettextResourceManager Constructors
<P>
51 <A HREF=
"#GettextResourceManager%28System.String%29%20Constructor" TARGET=
"contents">GettextResourceManager(System.String) Constructor
</A><BR>
52 <A HREF=
"#GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor" TARGET=
"contents">GettextResourceManager(System.String, System.Reflection.Assembly) Constructor
</A><BR>
55 GettextResourceManager Methods
<P>
57 <A HREF=
"#GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%2C%20System.Globalization.CultureInfo%29%20Method" TARGET=
"contents">GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method
</A><BR>
58 <A HREF=
"#GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%29%20Method" TARGET=
"contents">GettextResourceManager.GetPluralString(System.String, System.String, long) Method
</A><BR>
59 <A HREF=
"#GettextResourceManager.GetString%28System.String%2C%20System.Globalization.CultureInfo%29%20Method" TARGET=
"contents">GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method
</A><BR>
60 <A HREF=
"#GettextResourceManager.GetString%28System.String%29%20Method" TARGET=
"contents">GettextResourceManager.GetString(System.String) Method
</A><BR>
65 <A NAME=
"GettextResourceManager%28System.String%29%20Constructor"><H3>GettextResourceManager(System.String) Constructor
</H3>
68 <TABLE COLS=
"1" ROWS=
"1" WIDTH=
"100%">
69 <TR><TD BGCOLOR=
"#C0C0C0"><PRE>public GettextResourceManager(System.String baseName);
</PRE></TD></TR>
85 <DD>the resource name, also the assembly base
93 <A HREF=
"GNU_Gettext_GettextResourceManager.html" TARGET=
"contents">GNU.Gettext.GettextResourceManager Class
</A>,
<A HREF=
"GNU_Gettext.html" TARGET=
"members">GNU.Gettext Namespace
</A>
98 <A NAME=
"GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor"><H3>GettextResourceManager(System.String, System.Reflection.Assembly) Constructor
</H3>
101 <TABLE COLS=
"1" ROWS=
"1" WIDTH=
"100%">
102 <TR><TD BGCOLOR=
"#C0C0C0"><PRE>public GettextResourceManager(System.String baseName, System.Reflection.Assembly assembly);
</PRE></TD></TR>
118 <DD>the resource name, also the assembly base
126 <A HREF=
"GNU_Gettext_GettextResourceManager.html" TARGET=
"contents">GNU.Gettext.GettextResourceManager Class
</A>,
<A HREF=
"GNU_Gettext.html" TARGET=
"members">GNU.Gettext Namespace
</A>
131 <A NAME=
"GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%2C%20System.Globalization.CultureInfo%29%20Method"><H3>GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method
</H3>
134 <TABLE COLS=
"1" ROWS=
"1" WIDTH=
"100%">
135 <TR><TD BGCOLOR=
"#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n, System.Globalization.CultureInfo culture);
</PRE></TD></TR>
143 Returns the translation of
<I>msgid
</I> and
144 <I>msgidPlural
</I> in a given culture, choosing the right
145 plural form depending on the number
<I>n
</I>.
153 <DD>the key string to be translated, an ASCII
156 <DD>the English plural of
<I>msgid
</I>,
159 <DD>the number, should be
>=
0</DD>
163 <H4>Return Value
</H4>
166 the translation, or
<I>msgid
</I> or
167 <I>msgidPlural
</I> if none is found
173 <A HREF=
"GNU_Gettext_GettextResourceManager.html" TARGET=
"contents">GNU.Gettext.GettextResourceManager Class
</A>,
<A HREF=
"GNU_Gettext.html" TARGET=
"members">GNU.Gettext Namespace
</A>
178 <A NAME=
"GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%29%20Method"><H3>GettextResourceManager.GetPluralString(System.String, System.String, long) Method
</H3>
181 <TABLE COLS=
"1" ROWS=
"1" WIDTH=
"100%">
182 <TR><TD BGCOLOR=
"#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n);
</PRE></TD></TR>
190 Returns the translation of
<I>msgid
</I> and
191 <I>msgidPlural
</I> in the current culture, choosing the
192 right plural form depending on the number
<I>n
</I>.
200 <DD>the key string to be translated, an ASCII
203 <DD>the English plural of
<I>msgid
</I>,
206 <DD>the number, should be
>=
0</DD>
210 <H4>Return Value
</H4>
213 the translation, or
<I>msgid
</I> or
214 <I>msgidPlural
</I> if none is found
220 <A HREF=
"GNU_Gettext_GettextResourceManager.html" TARGET=
"contents">GNU.Gettext.GettextResourceManager Class
</A>,
<A HREF=
"GNU_Gettext.html" TARGET=
"members">GNU.Gettext Namespace
</A>
225 <A NAME=
"GettextResourceManager.GetString%28System.String%2C%20System.Globalization.CultureInfo%29%20Method"><H3>GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method
</H3>
228 <TABLE COLS=
"1" ROWS=
"1" WIDTH=
"100%">
229 <TR><TD BGCOLOR=
"#C0C0C0"><PRE>public override System.String GetString(System.String msgid, System.Globalization.CultureInfo culture);
</PRE></TD></TR>
237 Returns the translation of
<I>msgid
</I> in a given culture.
245 <DD>the key string to be translated, an ASCII
250 <H4>Return Value
</H4>
253 the translation of
<I>msgid
</I>, or
254 <I>msgid
</I> if none is found
260 <A HREF=
"GNU_Gettext_GettextResourceManager.html" TARGET=
"contents">GNU.Gettext.GettextResourceManager Class
</A>,
<A HREF=
"GNU_Gettext.html" TARGET=
"members">GNU.Gettext Namespace
</A>
265 <A NAME=
"GettextResourceManager.GetString%28System.String%29%20Method"><H3>GettextResourceManager.GetString(System.String) Method
</H3>
268 <TABLE COLS=
"1" ROWS=
"1" WIDTH=
"100%">
269 <TR><TD BGCOLOR=
"#C0C0C0"><PRE>public override System.String GetString(System.String msgid);
</PRE></TD></TR>
277 Returns the translation of
<I>msgid
</I> in the current
286 <DD>the key string to be translated, an ASCII
291 <H4>Return Value
</H4>
294 the translation of
<I>msgid
</I>, or
295 <I>msgid
</I> if none is found
301 <A HREF=
"GNU_Gettext_GettextResourceManager.html" TARGET=
"contents">GNU.Gettext.GettextResourceManager Class
</A>,
<A HREF=
"GNU_Gettext.html" TARGET=
"members">GNU.Gettext Namespace
</A>