473,399 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Satellite Assemblies... a boring problem

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

Nov 17 '05 #1
1 1401
Folders.. it, es, and other localized resources folder where must be
placed??? in the root directory of executable or in the project root
directory???
"Gianmaria I." <no*********@hothot.it> ha scritto nel messaggio
news:%2***************@TK2MSFTNGP12.phx.gbl...
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


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nils Erik Asmundvaag | last post by:
Hello I hope someone is able to help me with this frustrating problem. I have a C# web project in Visual Studio .NET 2003. I want to support Swedish and Norwegian texts and have put the texts...
1
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while...
6
by: James | last post by:
I have two question regarding the version resource that is generated for a satellite assembly. 1) I have a file in my C# console app project called StringResources.en-US.resx. When I build the...
0
by: thbst16 | last post by:
After a number of weeks of fruitless research and experimentation, I decided to turn to the group with this issue and see if anyone had any experiences or insights that might help me out. Here's...
5
by: Rudolf Ball | last post by:
Dear NG, i want to load a plugin (WinForm) in my Applikation. That works fine. Now I want to globalize that plugin. So I have to load the Satellite Assembly, as well. But how can I load this...
3
by: BBC1009 | last post by:
Don't know why when rebuild VB.Net project (vb.net 2002 framework 1.0), this error comes out suddenly. Anyone can help. Thanks!!!!
3
by: Adam Calderon | last post by:
In ASP.NET 2.0 you have the choice of using the built in App_GlobalResoruces or App_LocalResources style of using resources or you can use your own resources utilizing satellite assemblies. In the...
3
by: gjenglish | last post by:
I have recently migrated an ASP.NET 1.1 web application to ASP.NET 2.0. In this application I am storing all my resources in satellite assemblies and I am accessing them via the ResourceManager...
0
by: Faris Ahmed | last post by:
Dear ASP newsgroup, I have the following environment: 1) VS2005 ASP.NET 2.0 WebApplication called MyApp. 2) MyApp contains Strings.resx, Strings.en.resx and Strings.de.resx in...
0
by: npthomson | last post by:
Hi all, This could get a bit complicated but I'll try to be as clear as possible. I've written an application that discovers plugins at runtime using reflection from a subdirectory of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.