Here's how it works:
1 - download the file default.inc.zip <<LINK BROKEN, READ DOWN THE PAGE
2 - unzip it into manager/includes/languages/ in your Phase installation
3 - rename it to your_language.inc.php (i.e. for Dutch it would be nederlands.inc.php)
4 - edit the file using your favorite editing tool, replacing the texts with your own language:
$_lang["login_message"] = "In order to access Phase you need to log in.";
would be (for Dutch):
$_lang["login_message"] = "U dient in te loggen om gebruik te maken van Phase.";
5 - go to Phase configuration, and select your language.
6 - test it!
7 - once you're done, send it to me so I can do a review, and I'll add it to Phase.
Messages you've not translated yet are shown in English, and if no translation is found for a certain message, the english default is shown.
Some of the messages are delimited:
Some of the messages contain variables:
$_lang['refresh_published'] = "Publish documents: <b>%s</b> documents were published.";These variables are replaced at runtime by Phase. Please leave them intact If you have trouble figuring out what a certain variable does, let us know and we'll explain
For providing a translation, you will forever be credited in Phase as the languages' maintainer! The language file is updated quite often, so you'll need to check with every release if new stuff's been added. Lastly, once someone has offered to do a translation, I won't be needing other people to translate the same language. You can offer to help the translator, of course.
Edited by Dean, 25 July 2005 - 08:47 AM.