MailWasher can be easily translated in to different languages.

 

By default MailWasher will load the standard English language file first, and if another language is selected under Settings >> General >> Application >> then MailWasher will load this language file over the top of the English text.

 

This ensures that all items/fields in MailWasher have some text, in case the selected Language file has some missing translations.

 

The list of languages available is determined by the Alias.xml file in the Languages sub-folder.

 

Code: Select all

          <?xml version="1.0" encoding="utf-8" ?>

        - <LanguageAliases>

          <Alias Filename="Language.xml" Display="English (US)" />

          <Alias Filename="LanguageUK.xml" Display="Proper English" />

          <Alias Filename="LanguageGE.xml" Display="Deutsch" />

          <Alias Filename="LanguageFR.xml" Display="Français" />

          </LanguageAliases>

 

 

 

When you switch languages, MailWasher reads in the text of the new language and outputs any missing strings to the <language_name>.txt file. This allows anyone translating the software to easily identify areas of the language file that still needs to be translated. MailWasher also writes any missing English strings to the selected XML language file adding the tag Translated="False". This allows you to search the XML file for the Translated="False" string to easily find the missing strings, once the string has been translated you can either alter Translated="False" to Translated="True" or simply remove the text entirely.

 

 

 

Adding New Languages :

To add a new Language file into MailWasherPro Beta you need to edit the Alias.xml file found in the \Languages\ subfolder in the data directory to specify the new language, then restart MailWasher and select the new language. MailWasher will then create the new language file and reads in the text of the new language and outputs any missing strings to the <language_name>.txt file. This allows anyone translating the software to easily identify areas of the language file that still needs to be translated. MailWasher also writes any missing English strings to the selected XML language file adding the tag Translated="False". This allows you to search the XML file for the Translated="False" string to easily find the missing strings, once the string has been translated you can remove the text Translated="False" entirely.

 

For example, adding this line to the Alias file

<Alias Filename="LanguageEV.xml" Display="Elvish" />

 

And following the above steps to restart MailWasher and select the new Language to display, will create a new LanguageEV.xml file which will be a full copy of the default English file, with every string that requires translation carrying the Translated="False" tag. Appropriately the LanguageEV.txt will also display corrections required.