OS Property support center

Language Overrides - where?

More
6 years 1 month ago - 6 years 1 month ago #110551 by Alex
Language Overrides - where? was created by Alex
Hi!

I cannot find a lot of text snippets in either TRANSLATIONS of OsProperty, nor in LANGUAGE OVERRIDES of Joomla, nor in the DE-AT.COM_OSPROPERTY.INI-file.

I want to change/translate into German:

This (see screenshot 1):
(kWH/m)
(kg/m)

And also a lot of English words in Ammenities - see screenshot 2:



Where can I find these words?

Thanks, Alex
Attachments:
Last edit: 6 years 1 month ago by Alex.

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

More
6 years 1 month ago #110552 by Alex
Replied by Alex on topic Language Overrides - where?

Alex wrote: This (see screenshot 1):
(kWH/m)
(kg/m)

Attachments:

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

More
6 years 1 month ago #110553 by Mr. Dam
Replied by Mr. Dam on topic Language Overrides - where?
Hi,
OS Property has feature to merge existing language files with new language files, so you can go ahead to translate German language file of OS Property without losing your work once you install newer OS Property version
Thanks
Dam

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

More
6 years 1 month ago #110556 by Alex
Replied by Alex on topic Language Overrides - where?
Yes, but where and how to add new translations?

Under OTHER/TRANSLATION, I dont see a possibility to add new language strings.

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

More
6 years 1 month ago #110614 by Mr. Dam
Replied by Mr. Dam on topic Language Overrides - where?
You can open language file: root > language > en-GB > en-GB.com_osproperty.ini to add new language constants. Then, you can use Translation tool to translate language constants to different languages. New language constants won't be overridden in future installation.
Thanks
Dam

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

More
6 years 1 month ago #110628 by Alex
Replied by Alex on topic Language Overrides - where?
Thanks Dam,
I did as you said, but changes are not shown (also emptied system cache just to make sure). Thats what I have done:

Example "Cable Internet"

1) I opened en-GB.com_osproperty and added new string OS_CABLE_INTERNET="Cable Internet"
2) I opened Translator in OSProperty, searched for the string, selected language "de-AT" and changed the wording to "Kabel Internet".

--> The change to "Kabel-Internet" is not showing under ammenieties on makler.schuch.at/angebot/wohnen-im-gruen...olfersberg-1140-wien It is still in English.

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

More
6 years 1 month ago #110657 by Mr. Dam
Replied by Mr. Dam on topic Language Overrides - where?
Hi Alex,
"Cable Internet" is amenities of OS Property, you can translate them at Back-end > OS Property > Manage Convenience. If your site is multilingual, when you edit amenity, you can open tab: Translation to translate amenities in different languages.
Thanks
Dam

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

More
6 years 1 month ago #110663 by Alex
Replied by Alex on topic Language Overrides - where?

Alex wrote:

Alex wrote: This (see screenshot 1):
(kWH/m)
(kg/m)



I found it, where to translate the ammenities, thanks.

Still remaining are
(kWH/m)
(kg/m)
See screenshot.

Where can I find this?

Thx

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

More
6 years 1 month ago #110664 by Mr. Dam
Replied by Mr. Dam on topic Language Overrides - where?
Hi Alex,
The issue has been solved, please check it and get back to me. The modified file is: root > components > com_osproperty > helpers > common.php
In original function, the previous and next steps are difference "1", for example, the previous range is stop in 50, then, the next range will start from 51. In your case, the range is very small (smaller than 1), so if OS Property add 1 into start point of next range, the whole ranges in CO2 graph will become wrongly.
We must modify source code to remove code to add (1) in start point of next range, and now, the CO2 graph is showing properly. Hope my solution is ok with you.
Thanks
Dam
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan