I try to use short codes of qtranslate to make your great real estate plugin translate. I use
[:en] English text [:de] Deutsch text
and
<!–:en–>English text<!–:–><!–:de–>Deutsch text<!–:–>
All of these solutions don’t work
Any ideas how to resolve it?
MK
Hello, sorry for the delay. Currently the plugin only supports english however we will be adding multi-language support as an extension using WPML.
Thread Starter
akedv
(@ak71)
too bad.
hi mikal11, have you found another real estate plugin which works fine with qtranslate?
grüße
alexander
Hi,
I happy to say that i resolve this problem 🙂
You have to make changes in many places but everywhare you have to use code like in example:
If You want to change translate in property details, edit file
wp-content/plugins/fs-real-estate-plugin/includes/listing_details.php
find code
$PageContent .= '<div id="fsrep-aimages"><span>Other images</span>';
replace with
$otherlang = __(html_entity_decode('<!--:en-->Other images<!--:--><!--:pl-->Inne zdjęcia<!--:-->', ENT_NOQUOTES));
$PageContent .= '<div id="fsrep-aimages"><span>'.$otherlang.'</span>';
Here is my project link
mikal11
Thread Starter
akedv
(@ak71)
Hi mikal11,
adding the language phrases into the code is not what i want, all the localized data should be editable from the backend.
right now i’m using wp-property in combination with qtranslate & qtranslate extension, so the translations can be edited nicely. it’s still a lot messing around inside the wp-property plugin code, but nearly everything can be translated now.