Translation tool

[TOC]

Translation tool

The default language of OS Property is English. But you can translate the text message of OS Property to different languages. You can also adjust the English’s grammar. To translate text message, please follow these steps:
OS Property > Control panel > Translate labels. In the list you can select the language you want to translate content and then, select Front-end or Backend side. Before you translate you should make sure you have the language file of OS Property with your language. For example, the English language file of OS Property in Front-end will be in Root > language > en-GB.com_osproperty.ini and in Backed is : root > administrator > language > en-Gb > en-GB.com_osproperty.ini.

Note: You can edit the language file by the simpler way, copy the default language file of OS Property to your language folder. Rename the language file as the point 3 above. And open it by notepad editor. And translate the labels.

For example : OS_MANAGE_COMMENTS="Manage comments" You only can edit the part "Manage comments". Please save the language files in UTF-8 mode. After translating the language file. You can please send it to us. We will update your modification language files to the OS Property package. In that way, you'll contribute to the success of the product and we really appreciate your help.

Migrate language files

Some customers shared with us about their worries about the possibility of the languages files will be overwritten after installing new OS Property version. In fact, after installing the new OS Property version, language files of the OS Property are overwritten, and if you have previously translated or revised language files of OS Property, you will need to redo that again. To solve this kind of issue, here is the solution:
Before installing OS Property version, please backup language files. The language files are stored in directories:
root > language > lang_code > lang_code.com_osproperty.ini
and
root > administrator > language > lang_code > lang_code.com_osproperty.ini
For example:
root > language > en-GB > en-GB.com_osproperty.ini
and
root > administrator > language > en-GB > en-GB.com_osproperty.ini
Then, you can install latest OS Property version. Once new version is installed, you can open language files of on above locations. Normally, new language constants are added at the bottom of language files, so that you can merge content of new and old language files.
In that case, your modification won't lose and you still have latest language files version.

How to install language packages

In default, OS Property support English. So if your site is using English (en-GB), you don't need to care this part.
But if you are using different languages or the main language of your Joomla site isn't English. And these languages are supported by OS Property (English, French, Italian, German, Dutch, Portuguese, Greek, Russian, Spanish) then, when you install OS Property, the corresponding language package (of OS Property) will be installed too.
For example: If your Joomla site already has 3 languages: German, Spanish and Italian, when you install OS Property, 3 language packages of component are: German, Spanish and Italian will be installed too. And you are able to use those language package without doing anything.
When you have already installed OS Property, and then, you install new Joomla language. (Even that language is in the supported list of OS Property), in this case, OS Property isn't able to update the package of new installed language. And we must install the language for OS Property manually. Please read following example:
The new installed language is : German (de-DE). Open file: com_osproperty.zip (in folder "component" of Installation package), and extract it.
Copy file: component > languages > de-DE > de-DE.com_osproperty.ini
into Root > language > de-DE folder
and then, copy 2 files: admin > languages > de-DE > de-DE.com_osproperty.ini and admin > languages > de-DE > de-DE.com_osproperty.sys.ini into Root > administrator > language > de-DE folder
Do the same with other languages.