This How-To guide explains how you can translate FormMail messages into another language to assist your customers and the community of other websites that use FormMail.
Introduction
From version 5.02 of FormMail, it has supported languages other than English.
The first translation was to German and our thanks go to Erich Rieder for his efforts.
To begin a translation, ensure you have the latest FormMail. Use the FormMail Upgrade Wizard to ensure you have the very latest FormMail.
Formmail.php has English builtin and you simply install a file called "language.inc" in the same directory on the server to get a replacement language to override the builtin messages.
Message Translation
To perform a translation:
- Upload formmail.php to your server for testing the translation. You can call it something else so it doesn't clash with any existing formmail.php you might have.
- Download language_en.inc to get the file containing the English messages.
- Copy language_en.inc to language_fr.inc for French, language_se.inc for Swedish etc.
- Follow the instructions in the file.
Quick Start Translation
Once completed, there are two more translations tasks to perform. The first is the "Quick Start" guide that we provide at the top of formmail.php.
Please translate the following text and place it in a file called "quickstart.txt" (or the equivalent file name for your language - for example, in German this is "schnellstart.txt").
Forum Text Translation
The last translation is for the following text. This will be placed on our forums where people can download your translation.
Replace "German" with the language to which you've translated. Replace "schnellstart.txt" with the name of the file you've created for the Quick Start above.
Replace "language_de.zip" with the name of the language file you've created (we package language_xx.inc into a ZIP file called language_xx.zip together with the Quick Start text file).
Please place the following translation in a file called "forumtext.txt".
Send Us The Files
Finally, send the files you've created to us for publishing.
Acknowledgement
We're most happy to acknowledge your work both at the point of download as well as on this page. Please tell us the text you would like to include in the acknowledgement including a link to your website, if desired.

