After you have known about export and import in Real Estate Manager, we would like to describe how Real Estate Manager handles languages and how to add a new language file to the Real estate manager-property management joomla listing software.
The Real Estate Manager component for Joomla comes with full language support. And with Brazilian, Czech, Danish, Dutch, English (default), Farsi, French, German, Greek, Hungarian, Italian, Macedonian, Polish, Portuguese, Romanian, Russian, Spanish, Serbian, Swedish language files included. What does this mean?
Remark:
Yes, we know... the current language files in Real Estate Manager are done the "old fashioned" way, as it used to be in Joomla 3.x uses translations through .ini files, split between admin area and frontend area.
The reason we kept the old way for now is because it gives us fewer headaches maintaining different translation methods for the two Joomla versions. Perhaps we will look at transforming the translations to the new Joomla 3.x way for a future version. The important thing is: the translations work, and they work fine!
Many Language files for the Real Estate Manager component can be obtained from our website. You can easily download Language pack for Joomla Real Estate Manager here. But if your language isn't there yet, you can translate Real Estate Manager by yourself and add your language. Once you have translated Real Estate Manager on new language, please share it to help others!
You can update any word or word combination with help of Language Manager (the option is available only for Real Estate Manage PRO).
1. Go to admin area Components -> Real Estate Manager -> Language Manager.
2. In the drop down list Select Language choose needed language.
3. Then search the word or word combination which you want to change in the field Search by value constant, click on it and rename Value Constant
You can update any constant with help of Language Manager (the option is available only for Real Estate Manage PRO).
1. Go to admin area Components -> Real Estate Manager -> Language Manager.
2. In the Search by value constant field enter needed value.
3. Then write your value in the editing field and you will see new value on frontend.
For example you want to change constant "Property type"
Constant value before change
Constant value after
View constant value on frontend before
View constant value on frontend after
You can translate any Email with help of Language Manager (the option is available only for Real Estate Manager PRO).
1. Go to admin area Components -> Real Estate Manager -> Settings -> Email Notification.
2. Then find section "Send message" and select the needed text (or a part of text)
WARNING:
You can change Email text fot any text, but {username} must be constantly. There in {username} will be output the name of your clients.
3. After that go to Components -> Real Estate Manager -> Language Manager and in the Search by value constant field enter selected text. Press Enter. Real Estate Manager output the needed constant (_REAL_ESTATE_MANAGER_EMAIL_NOTIFICATION_RENT_REQUEST).
4. Finally select the checkbox _REAL_ESTATE_MANAGER_EMAIL_NOTIFICATION_RENT_REQUEST and select needed language in the select list
For create your properties site on 2 or more languages, you should
1. In Joomla Language Manager, add both your languages
Please go to admin->Extensions->Language(s)->Install Languages, and there please install both your languages for site admin and frontend parts.
2. In Joomla Language Manager, create both your Content languages
Please go to admin->Extensions->Language(s)->Content Languages, and there please add both your languages.
3. In RealEstateManager, create clone house which you wish translate to another language
Please go to admin->Components->RealEstateManager->Houses, and there please add both your houses.
4. In RealEstateManager, set boyh house as associated
In RealEstateManager, set languages for every your houses, and connect them as associated
If you find your language in language pack of Real Estate Manager (and you use free version of REM), to translate component you should:
1. Download language pack for Real Estate Manager
2. Unzip it, choose needed language and upload it in your_website/components/com_realestatemanager/lang
3. Go to Real Estate Manager -> Language Manager and click on button Load languages.
Component will be translated to the language of website (if several languages is uploaded).
If you can't find your language in the pack, you can translate component by yourself.
1. Find the file called English.php, either in your installation pack or in the zip archive of the component.
It is located in the directory
{your website}/components/com_realestatemanager/lang/
2. Make a copy of English.php and rename it to your own language, for example Dutch.php.
3. Open Dutch.php with a text editor which is capable of handling UTF-8. We recommend PSPad if you are on a Windows operating system.
WARNING:
All Joomla 3.x files need to be saved as UTF-8.
WordPad or Notepad can NOT handle UTF-8, so they are NOT FIT to create or
edit these files with!
Try PSPad instead (//www.pspad.com/), and set it under Format to UTF-8
before you edit and save your files.
4. Translate the text sections (value constants) to your language (marked this way on the example)
IMPORTANT NOTE:
Language tag should be changed in format xx-XX, see all language tags here
For example you will see the code:
Example translation for Dutch (NL) should look like this:
5. Continue to translate all language variables in your language.
REMARK:
You can use accented letters and special characters like é, ô, ü, ç, ñ, ¿. ©, ß etc. inside the files, with ONE exception:
You cannot use single quotes inside the language variables.
Please replace all single quotes ( ' ) with back-accents ( ` )
So for example French "l'emprunt" inside a language variable needs to be written "l`imprunt".
This is because single quotes are part of the PHP code normally. The “`” or back- accent will be ignored by PHP and interpreted as normal text.
To add your language to Real Estate Manager installation you should
1. Place your language file inside the directory
/components/com_real estate manager/lang/ using an FTP client or similar (if you are on a shared hosting account, please use internal Joomla FTP or QuiXplorer or similar to preserve the file ownership).
2. In the file Real Estate Manager.xml in the directory
/components/com_Real estate Manager/ add the language entry for your language. This goes right after the entry
3. Go to administration Real Estate Manager Language tab. Now you will see your language and may update any constant with it help.
So if you use for example Dutch and Spanish on your site you would add those, like this:
< filename>lang/english.php
< filename>lang/dutch.php
< filename>lang/spanish.php
3. To ensure the languages you use are visible inside the dropdown boxes in the administration part for selecting, you will need to add the language entries to every language file in use in your installation. In each language file, find the part marked //Languages and add your language there. Example:
//Languages
DEFINE('_RealEstateManager_LANGUAGE_NOT_USED', 'Not specified');
DEFINE('_RealEstateManager_LANGUAGE_ENG', 'English');
DEFINE('_RealEstateManager_LANGUAGE_DUT', 'Dutch');
DEFINE('_RealEstateManager_LANGUAGE_GER', 'German');
DEFINE('_RealEstateManager_LANGUAGE_FRE', 'French');
DEFINE('_RealEstateManager_LANGUAGE_ITA', 'Italian');
DEFINE('_RealEstateManager_LANGUAGE_SPA', 'Spanish');
etc.
Save each file. Remember to translate the entries according to the language file you are editing. That's it, you're done!
Sharing your created language files with the community.
Once you have a working translation for Real Estate Manager ready, please share it on the website to help others!
You will receive full credits for your work in the Real Estate Manager Languages Section, as well as a link to your website.
Thank you in advance for sharing your efforts with the rest of the Real Estate Manager users!