• Make sure that you are using a text editor that is UTF8 aware then making changes to the translation files.
• Make sure not to translate any strings between square brackets.
The application has a fairly simple and easy to use i18n system that is slightly modeled after gettext.
<?php
return array
(
'Hello, world!' => 'Bonjour, monde!',
'Goodbye [:user]' => 'Au revoir [:user]',
);
root
+- application
| +- i18n
| +- de.php (German)
| +- fr.php (French)
+- modules
| +- common
| +- i18n
| | +- de.php
| | +- fr.php
| +- report
| +- i18n
| | +- de.php
| | +- fr.php
To package into an archive:
cd /usr/local/psa/admin/plib/modules/
find -L "sentinel/" -path "*/i18n/*.php" | tar -zcvf sentinel-i18n.tar.gz -T -