Translating
OpenPSA uses the NemeinLocalization library for handling translations. Use the following instructions to translate the package to your local language:- If your language is not configured into NemeinLocalization, it needs
to be added to snippet /NemeinLocalization/init array
$nemeinlocalization_languages. The format is the following:
"Polish" => Array ("library" => "pl", "locale" => "pl_PL", "localname" => "Polski", "encoding" => "ISO-8859-2"),
Please send this line to us so we can include it to the NemeinLocalization distribution!
- Once language is configured in, just log in to the OpenPSA Manager tool, click the "Localization Tool" link on the left-hand navigation bar and
select your language
- You will be presented with a list of localization libraries. When you select a localization library the editable strings will appear in a web form. Translate
all strings in the libraries and commit the changes
- Once the translation is complete you need to enable it
as selection in Aegir. For this, again edit snippet
/NemeinLocalization/ini array $nemeinlocalization_available
The format is the following:
"English","Finnish","Polish","My Language"
We will make the same addition in the official NemeinLocalization distribution once your complete language library is added into the OpenPSA distribution
- Choose the language from the login screen, and test the translation thoroughly.
- Once the translation is complete send it to us in repligard
package for inclusion into the main distribution:
- Check the database ID for snippetdir localization libraries (listed in the Localization Tool)
- Export that language with repligard
- Send the exported package to us
- Check the database ID for snippetdir localization libraries (listed in the Localization Tool)
- OpenPSA is available in your local language!
After this the language library needs to be kept updated
with new OpenPSA releases. A good way to ensure that is to monitor the CVS commit mailing list.