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:
$_lang["confirm_undelete"] = " Any children documents deleted at the same time as this document will also be undeleted, but children documents deleted at an earlier time will still be deleted.";Please make sure messages which are delimited remain delimited, they're generally in JavaScript alerts, which will break if they're not delimited properly.
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
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.
Thanks!
Edited by Dean, 25 July 2005 - 08:47 AM.










