Hello,
If you need add new language:
First, find the file called english.php, either in your installation or in the zip archive of the component. Or download the latest English language file for Real Estate Manager from the Real Estate Manager languages section of the website.
In the Real Estate Manager installation it is located in the directory /components/com_realestatemanager/lang/.
Next, make a copy of english.php and rename it to your own language, for example dutch.php.
Now 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.0.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.
A partial example of what you will see:
/**
*
* @package Real Estate Manager
* @copyright 2008 Andrey Kvasnevskiy-OrdaSoft
* Homepage:
www.ordasoft.com/
* @version: 1.5.2 Shop $
* English Language File (EN) - UTF-8
**/
// components/com_RealEstate
DEFINE('_RealEstateManager_TITLE','Real Estate Manager'
;
DEFINE('_RealEstateManager_DESC','Our library with suggestions for house for you to enjoy.'
;
DEFINE('_RealEstateManager_SEARCH_DESC1', 'Search House'
;
DEFINE('_RealEstateManager_SEARCH_DESC2', 'Search House'
;
DEFINE('_RealEstateManager_SUBMIT_House','Submit a House'
;
etc.
You translate the text portions only, so ONLY the parts between the single quotes.
Example translation for Dutch (NL) would look like this:
/**
*
* @package Real Estate Manager
* @copyright 2008 Andrey Kvasnevskiy-OrdaSoft, Rob de Cleen
* Homepage:
www.ordasoft.com/
* @version: 1.5.2 Shop $
* Dutch Language File (NL) - UTF8
* Dutch translation by Rob de Cleen
**/
// components/com_ RealEstateManager
DEFINE('_RealEstateManager_TITLE','RealEstateManager'
;
DEFINE('_RealEstateManager_DESC','Onze bibliotheek met suggesties voor boeken die je misschien leuk en nuttig vindt.'
;
DEFINE('_RealEstateManager_SEARCH_DESC1', 'zoeken voor woningen'
;
DEFINE('_RealEstateManager_SEARCH_DESC2', 'zoeken voor woningen'
;
DEFINE('_RealEstateManager_SUBMIT_house','zoeken voor woningen'
;
etc.
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.
Adding your language file to the Real Estate manager installation
You can either do the operations on the component archive and then rezip and install, or edit the necessary files in place inside an existing installation.
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 lang/english.php.
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.
Submitting language files for Real Estate Manager can be done in two ways by registered users:
You can upload your language file from User Menu > Upload file
Or you can attach the file in a forum post
When submitting your language file, please mention:
Version of Real Estate Manager the language translation is for
Your name as you want it mentioned in the credits the website you want mentioned in the credits
Also check:
ordasoft.com/News/Real-Estate-Manager-Do...-estate-manager.html
Thanks