Groups | Blog | Home
all groups > dotnet internationalization > october 2004 >

dotnet internationalization : Changes to resource files not found in build.


Ray Seaward via .NET 247
10/17/2004 3:04:36 AM
Hello=2E I'm working on an application in VB=2ENet using Visual=
Studio =2ENet 2003=2E Since our application has to be in Engligh and=
in French (depending upon user selection), we're using the=
ResourceManager class to reference the localization =2Eresx files=2E=
Here's the problem:

Changes we make in development are not showing up in the built=
application=2E But, this is not true in all cases=2E That is, some=
of the items are returned translated whereas some are not=2E It=
seems to me that all newly translated items are not being=
recognized by the build process and are not being included as=
embedded resources=2E

Has anyone else come across this problem during the build=
process? (As a note, all translations work fine in debug mode=2E)

Thanks in advance,
Ray

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

Jorge Matos
10/20/2004 12:03:07 PM
Ray,

Are you using Satelite assemblies? or embedded "resx" files in the IDE? One
thing to verify if using the IDE is that the "Build Action" for each "resx"
file is set to "Embedded Resource". There's also a naming standard to how
you access resources.

For more information:
http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20040826netaa/manifest.xml

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconPackagingDeployingResources.asp

http://blogs.msdn.com/achimr/


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptutorials/html/string_resources.asp

[quoted text, click to view]
Marshal
10/31/2004 3:34:02 AM
Hi,

I also faced the same problem and solved it by doing 'Rebuild All' whenever
the resource was changed. Try it out.

regards
Marshal

[quoted text, click to view]
AddThis Social Bookmark Button