OS Property support center

Quick Search module - title translation

  • Heidy Alpizar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 3 months ago #55708 by Heidy Alpizar
Quick Search module - title translation was created by Heidy Alpizar
Hello, I have installed the Quick Search Module in my website, but I need to know where does the title can be configured for the translation to show in the Frontend. I have looked everywhere but can not find the place. I translated the module title through Falang and have it checked and published, and also checked the Translation in the OsProperty Component and is okay, but still shows the English word in the Spanish version at the frontend.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #55715 by Mr. Dam
Replied by Mr. Dam on topic Quick Search module - title translation
Hi Heidy,
You mean the Quick Search module of OSP Real Estate template, right? Have you tried to translate it in Translation tool of OS Property?
By the way, you don't need Falang to make multiple languages with OS Property
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Heidy Alpizar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 10 months ago - 9 years 10 months ago #64780 by Heidy Alpizar
Replied by Heidy Alpizar on topic Quick Search module - title translation
Hello, I am sorry but I still to do not understand how the translation tool of Os Property works. For example, I created a module for Featured Rentals with osproperty content slider, but I do not know how to make the spanish translation for the title of the module. I appreciate it if you could explain the steps I needs to follow in the backend. I know how to access the translation tool, but do not know what I need to do next. Thank you in advance. By the way, I have just noticed that the oscontentslider is not listed in the backend translation tool where it says Select element, neither in english or spanish eventhough the files exist in both languages.
Last edit: 9 years 10 months ago by Heidy Alpizar.

Please Log in or Create an account to join the conversation.

More
9 years 10 months ago #64799 by Mr. Dam
Replied by Mr. Dam on topic Quick Search module - title translation
Hi Heidy,
You can add translation for your module by modifying file: administrator > components > com_osproperty > classes > translation.php
Look at this code
Code:
if(JFolder::exists(JPATH_ROOT.'/modules/mod_osquicksearch')){ $options[] = JHtml::_('select.option','mod_osquicksearch','Module OS Quick Search'); }

You can see this the translation for module Search Properties: mod_osquicksearch
If your module is: mod_abc, you can change to
Code:
if(JFolder::exists(JPATH_ROOT.'/modules/mod_abc')){ $options[] = JHtml::_('select.option','mod_abc','Module ABC'); }

Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan