Based on a discussion in the developer forum some guide lines for handling translations and language files have been developed.
To simplify translating GetSimple and plugins conforming to said guide lines I have developed the Translate plugin:
For Developers:
Installation
Download the plugin from http://get-simple.info/extend/plugin/translate/112/ and unzip it into the plugins directory.
Usage
Go to the Plugins/Translate view in the admin back-end.
Trouble Shooting
If you get an error when saving:
To simplify translating GetSimple and plugins conforming to said guide lines I have developed the Translate plugin:
- You can select GetSimple or any of the plugins for translation
- If the plugin is translatable you see the translation statistics and can choose a source and target language for the translation
- You can filter the list with the texts by a search text or by only showing missing entries
- Edit the texts and save them
- Future feature: Submit the translation to GetSimple Extend
For Developers:
- Develop your plugin as described in the guide lines and create a lang directory.
- Use the Translate plugin: it will scan your source code and retrieve all codes for translation
- Create default translations (probably english) using the Translate plugin
- Wait for the public to provide further translations ;-)
Installation
Download the plugin from http://get-simple.info/extend/plugin/translate/112/ and unzip it into the plugins directory.
Usage
Go to the Plugins/Translate view in the admin back-end.
Trouble Shooting
If you get an error when saving:
- create a directory backups/translate and make sure it's writable
- make sure that all language directories (admin/lang and plugins/lang) are writable
- if you want to update a language file, make sure, it's writable