OS Property support center

Best/worst Language Label

More
10 years 11 months ago #50452 by Peter
Best/worst Language Label was created by Peter
Hi

I am helping developing the site www.sunestate1.com
It is a Danish site and the rest of the OS Property is translated properly, but in the rating part of any property it still says: "best" and "worst" and I need to change this to Danish equivalents. In the language .ini file(da-DK.com_osproperty.ini) the translation is made correctly (OS_WORST="Værste" ,OS_BEST="Bedste"). So I don't know what to do?



I hope someone can help!

- Peter

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

More
10 years 11 months ago #50480 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Best/worst Language Label
Hi Peter,
What's the theme that you are using?
Thanks
Dam

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

More
10 years 11 months ago #50485 by Peter
Replied by Peter on topic Best/worst Language Label
I have taken over the site with OS Property installed, so I don't know which theme it uses.
I have looked for it, but I can't find it anywhere. Can you tell me where to look?

- Peter

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

More
10 years 11 months ago #50487 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Best/worst Language Label
Hi,
You can go to Backend > OS Property > Manage OSP Themes, you will see what is the published theme now
Thanks
Dam

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

More
10 years 11 months ago #50489 by Peter
Replied by Peter on topic Best/worst Language Label
Thanks!

Don't know how I missed that. It is only the default theme that is published.

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

More
10 years 11 months ago #50490 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Best/worst Language Label
Hi Peter,
You can open file:
components > com_osproperty > templates > default > details.html.tpl.php
find
Worst
and replace by
<?php echo Jtext::_('OS_WORST'); ?>
and find
Best
and replace by
<?php echo Jtext::_('OS_BEST'); ?>
Thanks
Dam
The following user(s) said Thank You: Peter

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

More
10 years 11 months ago #50492 by Peter
Replied by Peter on topic Best/worst Language Label
I can't find the word in the code? Both searching with Firefox and Internet Explorer gives me nothing?

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

More
10 years 11 months ago #50493 by Peter
Replied by Peter on topic Best/worst Language Label
I found it the hard way, and it works as it should! Thanks a lot!

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

More
10 years 11 months ago #50494 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Best/worst Language Label
Congratulation, Peter
Dam

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

Moderators: Dang Thuc DamNguyen Phu Quan