1*946379e7Schristos<HTML> 2*946379e7Schristos<HEAD> 3*946379e7Schristos<TITLE>GNU.Gettext.GettextResourceManager Class</TITLE> 4*946379e7Schristos</HEAD> 5*946379e7Schristos<BODY BGCOLOR="#FFFFFF"> 6*946379e7Schristos<H3>GNU.Gettext.GettextResourceManager Class</H3> 7*946379e7Schristos 8*946379e7Schristos<BLOCKQUOTE> 9*946379e7Schristos<TABLE COLS="1" ROWS="1" WIDTH="100%"> 10*946379e7Schristos<TR><TD BGCOLOR="#C0C0C0"><PRE>public class GettextResourceManager: System.Resources.ResourceManager</PRE></TD></TR> 11*946379e7Schristos</TABLE> 12*946379e7Schristos</BLOCKQUOTE> 13*946379e7Schristos 14*946379e7Schristos<H4>Base Types</H4> 15*946379e7Schristos 16*946379e7Schristos<BLOCKQUOTE> 17*946379e7SchristosSystem.Resources.ResourceManager<BR> 18*946379e7Schristos GettextResourceManager<P> 19*946379e7Schristos 20*946379e7Schristos</BLOCKQUOTE> 21*946379e7Schristos 22*946379e7Schristos<H4>Library</H4> 23*946379e7Schristos 24*946379e7Schristos<BLOCKQUOTE> 25*946379e7SchristosGNU.Gettext 26*946379e7Schristos</BLOCKQUOTE> 27*946379e7Schristos 28*946379e7Schristos<H4>Summary</H4> 29*946379e7Schristos 30*946379e7Schristos<BLOCKQUOTE> 31*946379e7Schristos 32*946379e7SchristosEach instance of this class can be used to lookup translations for a 33*946379e7Schristosgiven resource name. For each <CODE>CultureInfo</CODE>, it performs the lookup 34*946379e7Schristosin several assemblies, from most specific over territory-neutral to 35*946379e7Schristoslanguage-neutral. 36*946379e7Schristos</BLOCKQUOTE> 37*946379e7Schristos 38*946379e7Schristos<H4>See Also</H4> 39*946379e7Schristos 40*946379e7Schristos<BLOCKQUOTE> 41*946379e7Schristos<A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A> 42*946379e7Schristos</BLOCKQUOTE> 43*946379e7Schristos 44*946379e7Schristos<H4>Members</H4> 45*946379e7Schristos 46*946379e7Schristos<BLOCKQUOTE> 47*946379e7Schristos<P> 48*946379e7Schristos 49*946379e7SchristosGettextResourceManager Constructors<P> 50*946379e7Schristos 51*946379e7Schristos<A HREF="#GettextResourceManager%28System.String%29%20Constructor" TARGET="contents">GettextResourceManager(System.String) Constructor</A><BR> 52*946379e7Schristos<A HREF="#GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor" TARGET="contents">GettextResourceManager(System.String, System.Reflection.Assembly) Constructor</A><BR> 53*946379e7Schristos<P> 54*946379e7Schristos 55*946379e7SchristosGettextResourceManager Methods<P> 56*946379e7Schristos 57*946379e7Schristos<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*946379e7Schristos<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*946379e7Schristos<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*946379e7Schristos<A HREF="#GettextResourceManager.GetString%28System.String%29%20Method" TARGET="contents">GettextResourceManager.GetString(System.String) Method</A><BR> 61*946379e7Schristos</BLOCKQUOTE> 62*946379e7Schristos 63*946379e7Schristos<HR> 64*946379e7Schristos 65*946379e7Schristos<A NAME="GettextResourceManager%28System.String%29%20Constructor"><H3>GettextResourceManager(System.String) Constructor</H3> 66*946379e7Schristos 67*946379e7Schristos<BLOCKQUOTE> 68*946379e7Schristos<TABLE COLS="1" ROWS="1" WIDTH="100%"> 69*946379e7Schristos<TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceManager(System.String baseName);</PRE></TD></TR> 70*946379e7Schristos</TABLE> 71*946379e7Schristos</BLOCKQUOTE> 72*946379e7Schristos 73*946379e7Schristos<H4>Summary</H4> 74*946379e7Schristos 75*946379e7Schristos<BLOCKQUOTE> 76*946379e7Schristos 77*946379e7SchristosConstructor. 78*946379e7Schristos</BLOCKQUOTE> 79*946379e7Schristos 80*946379e7Schristos<H4>Parameters</H4> 81*946379e7Schristos 82*946379e7Schristos<BLOCKQUOTE> 83*946379e7Schristos<DL> 84*946379e7Schristos<DT>baseName</DT> 85*946379e7Schristos<DD>the resource name, also the assembly base 86*946379e7Schristos name</DD> 87*946379e7Schristos</DL> 88*946379e7Schristos</BLOCKQUOTE> 89*946379e7Schristos 90*946379e7Schristos<H4>See Also</H4> 91*946379e7Schristos 92*946379e7Schristos<BLOCKQUOTE> 93*946379e7Schristos<A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A> 94*946379e7Schristos</BLOCKQUOTE> 95*946379e7Schristos 96*946379e7Schristos<HR> 97*946379e7Schristos 98*946379e7Schristos<A NAME="GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor"><H3>GettextResourceManager(System.String, System.Reflection.Assembly) Constructor</H3> 99*946379e7Schristos 100*946379e7Schristos<BLOCKQUOTE> 101*946379e7Schristos<TABLE COLS="1" ROWS="1" WIDTH="100%"> 102*946379e7Schristos<TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceManager(System.String baseName, System.Reflection.Assembly assembly);</PRE></TD></TR> 103*946379e7Schristos</TABLE> 104*946379e7Schristos</BLOCKQUOTE> 105*946379e7Schristos 106*946379e7Schristos<H4>Summary</H4> 107*946379e7Schristos 108*946379e7Schristos<BLOCKQUOTE> 109*946379e7Schristos 110*946379e7SchristosConstructor. 111*946379e7Schristos</BLOCKQUOTE> 112*946379e7Schristos 113*946379e7Schristos<H4>Parameters</H4> 114*946379e7Schristos 115*946379e7Schristos<BLOCKQUOTE> 116*946379e7Schristos<DL> 117*946379e7Schristos<DT>baseName</DT> 118*946379e7Schristos<DD>the resource name, also the assembly base 119*946379e7Schristos name</DD> 120*946379e7Schristos</DL> 121*946379e7Schristos</BLOCKQUOTE> 122*946379e7Schristos 123*946379e7Schristos<H4>See Also</H4> 124*946379e7Schristos 125*946379e7Schristos<BLOCKQUOTE> 126*946379e7Schristos<A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A> 127*946379e7Schristos</BLOCKQUOTE> 128*946379e7Schristos 129*946379e7Schristos<HR> 130*946379e7Schristos 131*946379e7Schristos<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> 132*946379e7Schristos 133*946379e7Schristos<BLOCKQUOTE> 134*946379e7Schristos<TABLE COLS="1" ROWS="1" WIDTH="100%"> 135*946379e7Schristos<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> 136*946379e7Schristos</TABLE> 137*946379e7Schristos</BLOCKQUOTE> 138*946379e7Schristos 139*946379e7Schristos<H4>Summary</H4> 140*946379e7Schristos 141*946379e7Schristos<BLOCKQUOTE> 142*946379e7Schristos 143*946379e7SchristosReturns the translation of <I>msgid</I> and 144*946379e7Schristos<I>msgidPlural</I> in a given culture, choosing the right 145*946379e7Schristosplural form depending on the number <I>n</I>. 146*946379e7Schristos</BLOCKQUOTE> 147*946379e7Schristos 148*946379e7Schristos<H4>Parameters</H4> 149*946379e7Schristos 150*946379e7Schristos<BLOCKQUOTE> 151*946379e7Schristos<DL> 152*946379e7Schristos<DT>msgid</DT> 153*946379e7Schristos<DD>the key string to be translated, an ASCII 154*946379e7Schristos string</DD> 155*946379e7Schristos<DT>msgidPlural</DT> 156*946379e7Schristos<DD>the English plural of <I>msgid</I>, 157*946379e7Schristos an ASCII string</DD> 158*946379e7Schristos<DT>n</DT> 159*946379e7Schristos<DD>the number, should be >= 0</DD> 160*946379e7Schristos</DL> 161*946379e7Schristos</BLOCKQUOTE> 162*946379e7Schristos 163*946379e7Schristos<H4>Return Value</H4> 164*946379e7Schristos 165*946379e7Schristos<BLOCKQUOTE> 166*946379e7Schristosthe translation, or <I>msgid</I> or 167*946379e7Schristos <I>msgidPlural</I> if none is found 168*946379e7Schristos</BLOCKQUOTE> 169*946379e7Schristos 170*946379e7Schristos<H4>See Also</H4> 171*946379e7Schristos 172*946379e7Schristos<BLOCKQUOTE> 173*946379e7Schristos<A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A> 174*946379e7Schristos</BLOCKQUOTE> 175*946379e7Schristos 176*946379e7Schristos<HR> 177*946379e7Schristos 178*946379e7Schristos<A NAME="GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%29%20Method"><H3>GettextResourceManager.GetPluralString(System.String, System.String, long) Method</H3> 179*946379e7Schristos 180*946379e7Schristos<BLOCKQUOTE> 181*946379e7Schristos<TABLE COLS="1" ROWS="1" WIDTH="100%"> 182*946379e7Schristos<TR><TD BGCOLOR="#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n);</PRE></TD></TR> 183*946379e7Schristos</TABLE> 184*946379e7Schristos</BLOCKQUOTE> 185*946379e7Schristos 186*946379e7Schristos<H4>Summary</H4> 187*946379e7Schristos 188*946379e7Schristos<BLOCKQUOTE> 189*946379e7Schristos 190*946379e7SchristosReturns the translation of <I>msgid</I> and 191*946379e7Schristos<I>msgidPlural</I> in the current culture, choosing the 192*946379e7Schristosright plural form depending on the number <I>n</I>. 193*946379e7Schristos</BLOCKQUOTE> 194*946379e7Schristos 195*946379e7Schristos<H4>Parameters</H4> 196*946379e7Schristos 197*946379e7Schristos<BLOCKQUOTE> 198*946379e7Schristos<DL> 199*946379e7Schristos<DT>msgid</DT> 200*946379e7Schristos<DD>the key string to be translated, an ASCII 201*946379e7Schristos string</DD> 202*946379e7Schristos<DT>msgidPlural</DT> 203*946379e7Schristos<DD>the English plural of <I>msgid</I>, 204*946379e7Schristos an ASCII string</DD> 205*946379e7Schristos<DT>n</DT> 206*946379e7Schristos<DD>the number, should be >= 0</DD> 207*946379e7Schristos</DL> 208*946379e7Schristos</BLOCKQUOTE> 209*946379e7Schristos 210*946379e7Schristos<H4>Return Value</H4> 211*946379e7Schristos 212*946379e7Schristos<BLOCKQUOTE> 213*946379e7Schristosthe translation, or <I>msgid</I> or 214*946379e7Schristos <I>msgidPlural</I> if none is found 215*946379e7Schristos</BLOCKQUOTE> 216*946379e7Schristos 217*946379e7Schristos<H4>See Also</H4> 218*946379e7Schristos 219*946379e7Schristos<BLOCKQUOTE> 220*946379e7Schristos<A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A> 221*946379e7Schristos</BLOCKQUOTE> 222*946379e7Schristos 223*946379e7Schristos<HR> 224*946379e7Schristos 225*946379e7Schristos<A NAME="GettextResourceManager.GetString%28System.String%2C%20System.Globalization.CultureInfo%29%20Method"><H3>GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method</H3> 226*946379e7Schristos 227*946379e7Schristos<BLOCKQUOTE> 228*946379e7Schristos<TABLE COLS="1" ROWS="1" WIDTH="100%"> 229*946379e7Schristos<TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid, System.Globalization.CultureInfo culture);</PRE></TD></TR> 230*946379e7Schristos</TABLE> 231*946379e7Schristos</BLOCKQUOTE> 232*946379e7Schristos 233*946379e7Schristos<H4>Summary</H4> 234*946379e7Schristos 235*946379e7Schristos<BLOCKQUOTE> 236*946379e7Schristos 237*946379e7SchristosReturns the translation of <I>msgid</I> in a given culture. 238*946379e7Schristos</BLOCKQUOTE> 239*946379e7Schristos 240*946379e7Schristos<H4>Parameters</H4> 241*946379e7Schristos 242*946379e7Schristos<BLOCKQUOTE> 243*946379e7Schristos<DL> 244*946379e7Schristos<DT>msgid</DT> 245*946379e7Schristos<DD>the key string to be translated, an ASCII 246*946379e7Schristos string</DD> 247*946379e7Schristos</DL> 248*946379e7Schristos</BLOCKQUOTE> 249*946379e7Schristos 250*946379e7Schristos<H4>Return Value</H4> 251*946379e7Schristos 252*946379e7Schristos<BLOCKQUOTE> 253*946379e7Schristosthe translation of <I>msgid</I>, or 254*946379e7Schristos <I>msgid</I> if none is found 255*946379e7Schristos</BLOCKQUOTE> 256*946379e7Schristos 257*946379e7Schristos<H4>See Also</H4> 258*946379e7Schristos 259*946379e7Schristos<BLOCKQUOTE> 260*946379e7Schristos<A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A> 261*946379e7Schristos</BLOCKQUOTE> 262*946379e7Schristos 263*946379e7Schristos<HR> 264*946379e7Schristos 265*946379e7Schristos<A NAME="GettextResourceManager.GetString%28System.String%29%20Method"><H3>GettextResourceManager.GetString(System.String) Method</H3> 266*946379e7Schristos 267*946379e7Schristos<BLOCKQUOTE> 268*946379e7Schristos<TABLE COLS="1" ROWS="1" WIDTH="100%"> 269*946379e7Schristos<TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid);</PRE></TD></TR> 270*946379e7Schristos</TABLE> 271*946379e7Schristos</BLOCKQUOTE> 272*946379e7Schristos 273*946379e7Schristos<H4>Summary</H4> 274*946379e7Schristos 275*946379e7Schristos<BLOCKQUOTE> 276*946379e7Schristos 277*946379e7SchristosReturns the translation of <I>msgid</I> in the current 278*946379e7Schristosculture. 279*946379e7Schristos</BLOCKQUOTE> 280*946379e7Schristos 281*946379e7Schristos<H4>Parameters</H4> 282*946379e7Schristos 283*946379e7Schristos<BLOCKQUOTE> 284*946379e7Schristos<DL> 285*946379e7Schristos<DT>msgid</DT> 286*946379e7Schristos<DD>the key string to be translated, an ASCII 287*946379e7Schristos string</DD> 288*946379e7Schristos</DL> 289*946379e7Schristos</BLOCKQUOTE> 290*946379e7Schristos 291*946379e7Schristos<H4>Return Value</H4> 292*946379e7Schristos 293*946379e7Schristos<BLOCKQUOTE> 294*946379e7Schristosthe translation of <I>msgid</I>, or 295*946379e7Schristos <I>msgid</I> if none is found 296*946379e7Schristos</BLOCKQUOTE> 297*946379e7Schristos 298*946379e7Schristos<H4>See Also</H4> 299*946379e7Schristos 300*946379e7Schristos<BLOCKQUOTE> 301*946379e7Schristos<A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A> 302*946379e7Schristos</BLOCKQUOTE> 303*946379e7Schristos 304*946379e7Schristos</BODY> 305*946379e7Schristos</HTML> 306