Translating

The application has a fairly simple and easy to use i18n system that is slightly modeled after gettext.

Translation file example

<?php
return array
(
     'Hello, world!' => 'Bonjour, monde!',
     'Goodbye [:user]'  => 'Au revoir [:user]',
);

Translation file structure

root
 +- application
 |    +- i18n
 |        +- de.php (German)
 |        +- fr.php (French)
 +- modules
 |    +- common
 |        +- i18n
 |        |   +- de.php
 |        |   +- fr.php
 |    +- report
 |        +- i18n
 |        |   +- de.php
 |        |   +- fr.php

Language files

Language files can be downloaded here: warden-i18n.tar.gz

To copy and extract:

cp warden-i18n.tar.gz /usr/local/psa/admin/plib/modules/warden/
cd /usr/local/psa/admin/plib/modules/warden/
tar zxvf warden-i18n.tar.gz