Wednesday, 06 April 2011 20:18

In this tutorial you will learn how to translate a specific Projectfork 3.0 extension and how to create an installable language package. If you want to translate Projectfork itself, please look here.

WARNING:  For developers only!

How to translate

The best way to start your translation is to work with the example language package that ships with every Projectfork package. The example language we need in this case is example_language.ext.zip (not example_language.zip). You'll find it in "/administrator/components/com_projectfork/_dev".

Extract this package to your desktop and write your translation strings in the *.ini file in the "data" folder using a regular text editor. Make sure you save them in UTF-8 format! After that, rename the .ini file to the following format: <extension type>_<extension_name>.ini (Example: section_somename.ini)

Update the XML file

When you're done translating, rename the XML file (example_language.ext.xml) to the following format: <language name>.<extension type>_<extension_name>.xml (for example: german.section_somename.xml). And finally, open the XML file and update it according to the instructions found inside the file.

Create the install package

Once you have everything ready, create a new .zip package a put the XML file and the data folder into it. Then try to install the package in Projectfork to make sure everything works.

Share it

Please share your translations with us and the Projectfork community! You can submit your install packages in the forum. Thank you!

Last modified on Wednesday, 31 August 2011 20:56
More in this category: « Translation (ProjectFork 3.0)