- Posts: 7
- Thank you received: 0
OS Property support center
Best/worst Language Label
- Peter
- Topic Author
- Offline
- New Member
-
Less
More
10 years 7 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
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.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 7 months ago #50480
by Mr. Dam
Replied by Mr. Dam on topic Best/worst Language Label
Hi Peter,
What's the theme that you are using?
Thanks
Dam
What's the theme that you are using?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Peter
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
10 years 7 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
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.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 7 months ago #50487
by Mr. Dam
Replied by Mr. 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
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.
- Peter
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
10 years 7 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.
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.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 7 months ago #50490
by Mr. Dam
Replied by Mr. 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
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.
- Peter
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
10 years 7 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.
- Peter
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
10 years 7 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.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13057
- Thank you received: 1696
10 years 7 months ago #50494
by Mr. Dam
Replied by Mr. Dam on topic Best/worst Language Label
Congratulation, Peter
Dam
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.