|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/3.0/3.1 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 nine *.ini files containing the language texts for your language. Six 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 nine files.
en-GB_sobipro_lang_1.1.x.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 en-GB.com_sobipro.messages.ini en-GB.com_sobipro.check.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>2.0</version> <SobiPro>1.1</SobiPro> <creationDate>20.08.2013</creationDate> <author>name of translator</author> <authorEmail>email address of translator</authorEmail> <authorUrl>url of translator</authorUrl> <translationUrl>url to language in Transifex</translationUrl> <copyright>Copyright(C) 2013 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> <filename>en-GB.com_sobipro.messages.ini</filename> <filename>en-GB.com_sobipro.check.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 SobiPro to share with others
It is much appreciated to share translations for your language with other users of your country.
This is the recommended method if you want to share your translation with other users. Translators from Transifex will get mentioned on our sites as a translator for the corresponding language Translation Team.
In Transifex there are two releases, the release 'SobiPro 1.1' and the release 'SobiPro 1.0'. SobiPro 1.1 core files start with 'Core11--' and its application files with 'Apps11--'. For SobiPro 1.0, the files start with 'Core--' and 'Apps--'.
Translating the files directly
You will find the English language files in the SobiPro installation package in the folder Site\usr\locale\ or download a sample SobiPro 1.1 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 (if your language does not yet exist in Transifex) and published in our Download Directory available for all users. If there are already translated files for your language in Transifex and your package does not derive from them, we are probably not able to publish your package.
Also the language files for the SobiPro applications will be translated via our translations teams on Transifex.
If the translation of an app for a 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|