Localization

 

You can translate nService to your language. For example, take the following steps to translate it to Portuguese.

 

  1. Uncomment the globalization tag in web.config.
  2. Copy all resource files in \Inetput\wwwroot\nService3\Help\App_GlobalResources to your language. For example, if you are translating nService to Portuguese, copy *.resx to *.pt.resx.
  3. Open the resource files up and convert all the values to Portuguese. To do that, you can use the free Microsoft Visual Studio Express. It can be downloaded at http://msdn.microsoft.com/vstudio/express/.
  4. Compile the new resource files in to one single assembly and copy it to the bin/pt folder.

 

To do step 4, you need Visual Studio Standard Edition or better. If you don’t have it, send us your resource files and we will compile them and send the assembly back to you. To do it yourself with Visual Studio Standard Edition or better, take the following steps.

 

1.     Download the Microsoft Web Deployment Projects add-in from http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx.

2.     Install it and you will see the additional “Add Web Deployment Project” command added to your Visual Studio, Build menu.

3.     Create a web application.

4.     Copy the \Inetput\wwwroot\nService3\Help\App_GlobalResources folder into this new web application project.

5.     Create a new web deployment project and build the entire solution.

6.     The compiled resource assembly nServiceDeploy.resources.dll will be in the bin folder of the solution output. Copy it \Inetput\wwwroot\nService3\bin\pt\

 

If you are translating nService to other language, find the two-letter language code from nService3/web.config and replace all “pt” with it in the above instructions.

 

Copyright (c) 2007 Avensoft, Inc. All rights reserved.