G
Gianmaria I.
Hi,
i've got a problem woth localized assembly resources.
My app namespace is GM, and i heve 3 languages.. en as default, it and es.
So i've created 3 text resources called:
Messages.txt
Messages.it.txt
Messages.es.txt
so i created the resources using resgen:
resgen Messages.txt GM.Messages.resources
resgen Messages.it.txt GM.Messages.it.resources
resgen Messages.en.txt GM.Messages.es.resources
and later by al.exe compilated as follow:
al /v:2.3.* /t:lib /embed:GM.Messages.resources /out:GM.Messages.dll
al /v:2.3.* /t:lib /culture:it /embed:GM.Messages.it.resources
/out:it/GM.Messages.dll
al /v:2.3.* /t:lib /culture:es /embed:GM.Messages.es.resources
/out:es/GM.Messages.dll
Under application root i've two folder... it and es
I place dll this way..
root
|
GM.Messages.dll
it/
|
GM.Messages.dll
es/
|
GM.Messages.dll
Anyway.. my resources are never loaded.. what my app uses is always the main
(default) library.
Where i go wrong?????
I'm sure GM is the application NameSpace.
I've tried to call my resources like this
GM.Messages.resources.dll
but result is the same....
Very bored...
Gianmaria
i've got a problem woth localized assembly resources.
My app namespace is GM, and i heve 3 languages.. en as default, it and es.
So i've created 3 text resources called:
Messages.txt
Messages.it.txt
Messages.es.txt
so i created the resources using resgen:
resgen Messages.txt GM.Messages.resources
resgen Messages.it.txt GM.Messages.it.resources
resgen Messages.en.txt GM.Messages.es.resources
and later by al.exe compilated as follow:
al /v:2.3.* /t:lib /embed:GM.Messages.resources /out:GM.Messages.dll
al /v:2.3.* /t:lib /culture:it /embed:GM.Messages.it.resources
/out:it/GM.Messages.dll
al /v:2.3.* /t:lib /culture:es /embed:GM.Messages.es.resources
/out:es/GM.Messages.dll
Under application root i've two folder... it and es
I place dll this way..
root
|
GM.Messages.dll
it/
|
GM.Messages.dll
es/
|
GM.Messages.dll
Anyway.. my resources are never loaded.. what my app uses is always the main
(default) library.
Where i go wrong?????
I'm sure GM is the application NameSpace.
I've tried to call my resources like this
GM.Messages.resources.dll
but result is the same....
Very bored...
Gianmaria