Hi,
I need to use resources for internationalization in my .NET app, which
is being written in VB.NET.
Problem is I can't seem to load localized versions of files. For
example, I have these two files as "embedded resource":
units.xml
units.es.xml
Then, using a ResourceManager I load "MyNamespace.units.xml". Problem
is it always uses "units.xml" no matter the current OS culture or no
matter even if I override the culture info. Oh, and I can't load
"units.es.xml" if I try to load it directly, so that means the file IS
being embedded as a localized resource, but only Gates knows in what
language or how to load it...
So, what I need is a solution for this problem, or an example of
working code that does <B>exactly</B> what I want. I DON'T want code
that loads a file filename checking the culture info, as that must be
automatically done by the framework.
Regards,
Ivan V. |