In this tutorial I will show you how to translate Projectfork into your language and how to create an installable package.
Translate the original language fileThe best way to start your translation is to copy the original language file
"english.php" somewhere to your PC. You can find this file in:
"<joomla root>/administrator/components/com_projectfork/languages/"Then rename the copy to the name of your language (for example:
"german.php"). Now open the file and translate all the language tokens.
Create the XML fileOnce you're done translating, all you have to do now is create the XML file needed for the installation. To start, download the XML template below and then open the file and edit it accordingly:
[
Download XML template ]
Code:
Field name Status Description
name Required Enter the name of your language file without the file extension. Example: german
title Required Enter the native name of your language. Example: Deutsch
author Optional Enter your name
email Optional Enter your email address
website Optional Enter your website
update_website Optional Enter a link to your website where people can quickly check for updates
version Optional Enter the the version of your language file
license Optional Enter the license under which you are publishing your work
copyright Optional Enter copyright information
date Optional Enter the release date of your work
files - file Required Enter the name of your language file. For example german.php
Create the install packageThe final step is to put both files into a ZIP package. Then you should try to install the package to see if it works.
And remember, to install a language package, navigate to:
"Projectfork -> Config -> Languages"