Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 24 Jul 2008 21:19:00 -0700,    group: microsoft.public.dotnet.framework.aspnet.webservices        back       


Web Service Localization   
Hi

I have a .NET C# web service.

Some of the methods of the web service returns strings. I have localized 
these strings by using a resource file (Resources.resx).

I have then copied this resource file to Resources.fr-FR.resx and translated 
the strings.

When I embed the Resources.fr-FR.resx in my DLL, the web service displays 
the proper strings in French.

However, I do not want to embed the resource files in my DLL so I created a 
Satellite DLL using resgen (Test.resources.dll).

I then placed the Satellite DLL in a subfolder called fr-FR under the root 
folder of the virtual directory.

When I call a method of my web service, the french resources are not getting 
loaded. I tried placing the satellite DLL in App_LocalResources but that did 
not work either.

Any insight would be appreciated.

Thanks,
Marie
date: Thu, 24 Jul 2008 21:19:00 -0700   author:   shannma

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us