Satellite Assemblies... a boring problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gianmaria I.

    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.res ources
    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.Messag es.resources /out:GM.Messages .dll
    al /v:2.3.* /t:lib /culture:it /embed:GM.Messag es.it.resources
    /out:it/GM.Messages.dll
    al /v:2.3.* /t:lib /culture:es /embed:GM.Messag es.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.res ources.dll

    but result is the same....


    Very bored...


    Gianmaria





  • Gianmaria I.

    #2
    Re: Satellite Assemblies... a boring problem

    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." <nowaytoknow@ho thot.it> ha scritto nel messaggio
    news:%23WhM2XZQ FHA.244@TK2MSFT NGP12.phx.gbl.. .[color=blue]
    > 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.res ources
    > 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.Messag es.resources /out:GM.Messages .dll
    > al /v:2.3.* /t:lib /culture:it /embed:GM.Messag es.it.resources
    > /out:it/GM.Messages.dll
    > al /v:2.3.* /t:lib /culture:es /embed:GM.Messag es.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.res ources.dll
    >
    > but result is the same....
    >
    >
    > Very bored...
    >
    >
    > Gianmaria
    >
    >
    >
    >
    >[/color]


    Comment

    Working...