WebMail Pro ASP.NET documentation

Translating to another language

It's easy to translate WebMail Pro ASP.NET interface to any language (let's take Spanish for example):

1. Make sure the text editor you use supports UTF-8 because all text in WebMail language files is in UTF-8 charset. It's very important to use a text editor in UTF-8 mode because otherwise some characters might be displayed incorrectly for those users which have another language set as default system language. You can use standard Windows Notepad because it supports UTF-8.

2. Open App_Data\langs\webmail.txt and save this file as webmail.[lang].txt, where [lang]=es is for Spanish destination language (e.g. webmail.es.txt)

3. Translate webmail.[lang].txt to destination language (e.g. translate webmail.es.txt to Spanish)

4. In the langs.xml add these lines for destination language (e.g. Spanish):

<lang>
  <FriendlyName>Spanish</FriendlyName>
  <CultureName>es</CultureName>
</lang>

5. Compile webmail.[lang].txt into webmail.[lang].resources via ResGen tool which is shipped with .NET Framework or MS Visual Studio distribution - in command line, type:

resgen webmail.es.txt

If the webmail.[lang].txt is changed, recompilation (or IIS restart) is required (step 5). If the ".resources" files are blocked, it's necessary to rebuild the whole project. Instead of compiling via ResGen, you may restart your IIS; type:

iisreset

in command line to build the resources.

As alternative to the step 5, you may send us webmail.[lang].txt, we'll compile it ourselves and provide you with the compiled webmail.[lang].resources.

We'd be very grateful to you if you provide us with the translation to be included into the original WebMail package among with other translations provided by our customers.