N
Nader
I have the next simple code and it doesn't work:
ResourceManager gStrings = new ResourceManager("MyApp.Strings",
Assembly.GetExecutingAssembly());
//Get the user's language.
CultureInfo ci = new CultureInfo("es");
String str = gStrings.GetString("Username", ci);
I have two assemblies: one is the fallback String.resx and the other
one is Strings.es.resx
The problem is that str is getting it's string from the fallback and
it just doesn't want to get it from es-assembly
What am I doing wrong??
I would be greatfull if someone helps!
ResourceManager gStrings = new ResourceManager("MyApp.Strings",
Assembly.GetExecutingAssembly());
//Get the user's language.
CultureInfo ci = new CultureInfo("es");
String str = gStrings.GetString("Username", ci);
I have two assemblies: one is the fallback String.resx and the other
one is Strings.es.resx
The problem is that str is getting it's string from the fallback and
it just doesn't want to get it from es-assembly
What am I doing wrong??
I would be greatfull if someone helps!