|Translating Language Files|
We are using Transifex, an online tool for translation of SobiPro language packages and application translations. If you want to help the SobiPro translation team, sign up at Transifex for free and join the team of your language. If your language does not exist, you can request the creation of a your language.
We are creating regularly installable language packages from your translations made at Transifex. You will find these language packages in our Download Directory.
A SobiPro language package uses the same installation format as a Joomla! 1.5 language package. It will be installed on Joomla! 2.5 via SobiPro Application Manager.
Creating a Language Package for SobiPro for use on your own site
To install a language, you need to create an installable package from the translated files.
Content of a SobiPro language package
A SobiPro language package consists of an xml file and seven *.ini files containing the language texts for your language. Four files for back-end translation in the folder admin and three files for front-end translation in the folder site. Ideally you will translate all seven files.
en-GB_sobipro_lang_1.0.zip: admin en-GB.com_sobipro.ini en-GB.com_sobipro.sys.ini en-GB.com_sobipro.js.ini en-GB.com_sobipro.about.ini site en-GB.com_sobipro.ini en-GB.com_sobipro.err.ini en-GB.com_sobipro.js.ini install.xml
The installation file install.xml
The installation file install.xml contains information about the language and the translator. Enter your name and URL in this file to recognize you as the author of the translation.
<?xml version="1.0" encoding="utf-8"?> <install type="language" version="1.5" client="both" method="upgrade"> <name>English</name> <tag>en-GB</tag> <version>1.0</version> <SobiPro>1.0</SobiPro> <creationDate>28.03.2012</creationDate> <author>name of translator</author> <authorEmail>email address of translator</authorEmail> <authorUrl>url of translator</authorUrl> <copyright>Copyright(C) 2012 Sigsiu.NET GmbH. All rights reserved.</copyright> <copyright>Copyright(C) name of translator.</copyright> <license>http://www.gnu.org/licenses/gpl.html GNU/GPL Version 3</license> <description></description> <administration> <files folder="admin"> <filename>en-GB.com_sobipro.ini</filename> <filename>en-GB.com_sobipro.sys.ini</filename> <filename>en-GB.com_sobipro.js.ini</filename> <filename>en-GB.com_sobipro.about.ini</filename> </files> </administration> <site> <files folder="site"> <filename>en-GB.com_sobipro.ini</filename> <filename>en-GB.com_sobipro.err.ini</filename> <filename>en-GB.com_sobipro.js.ini</filename> </files> </site> <params /> </install>
The name of the language files
To create a package for your language, take the English language files of the SobiPro package as reference.
Translating the files
You will find the English language files in the SobiPro installation package in the folder Site\usr\locale\ or download a sample SobiPro 1.0 en-GB package from here.
If you update an existing language package, please take always this one which is available in our Download Directory as basis as it could happen that we make formal corrections to a package.
The name of the package
Name of package should be: xx-XX_sobipro_lang_y.y.x.zip
Get your package published
Either upload your translations to Transifex or send us your language package by email. After verification, it will be uploaded to Transifex and published in our Download Directory available for all users. Please note, that you have to release your language package with a GNU/GPL compatible license in order get it pubished on our site.
Also the language files for the SobiPro applications will be translated via our translations teams on Transifex.
If the translation of an app for language is missing and you want to create your own translation for an application, it is recommended to translate the English translation file(s) of the app (starting with en-GB) which is always included in the package, to your language. Make sure to save them with the encoding UTF8 No BOM!
|Forum Club Zone|