SP Page Builder 3.3 is here! Check all new features

Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Translation of property status SP property in empire template

Featured Lock Resolved Issue
Hi there,

I have been trying to find where I can translate the "Property Status" list into Spanish, but I have not managed to find where, I have modified all the files in the "language" folder but the options that are in the properties state do not appear.

Where can I translate this list?

The site URL is: http://sanabriasanchez.com

Thanks :)

Note: attached image of the site where you can illustrate my question.

Attachments (1)

  • Screen-Shot-2017-08-24-at-1.38.13-AM.jpg
    Screen-Shot-2017-08-24-at-1.38.13-AM.jpg 84.7 KB

22 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi, Did you check this file en-GB.com_spproperty.ini?

language/en-GB/en-GB.com_spproperty.ini

-Thanks

Angela Millan

More than a month ago #Permalink
Hi Toufiq and thanks for your answer.

Yes, I did. I translated that file into Spanish too, but neither in this file or the ones that I find in the language folder is the list of options of the state of properties.

I have modified all files in language/en-GB, like:


  • en-GB.com_spproperty.ini
  • en-GB.mod_sppagebuilder.ini
    en-GB.mod_spproperty_properties.ini
    en-GB.mod_spproperty_search.ini


Afterwards, I thought that this list could be in some .XML file because to change the currency I had to do it in a file like this, I also searched but I did not succeed.

And another question. Do you know where I can remove "/" that appears in the price of the property? And if it is possible to give a space between the symbol of the currency and the value? attached image.

Thank you very much for your help. :) :*

Attachments (1)

  • Screen-Shot-2017-08-24-at-10.06.14-AM.jpg
    Screen-Shot-2017-08-24-at-10.06.14-AM.jpg 60.1 KB

Toufiq - Staff

More than a month ago #Permalink
Hi,

Please follow the instructions.

Remove back slash
components/com_spproperty/views/property/tmpl/default.php

<?php echo $this->item->price; ?>/<?php echo JText::_('COM_SPPROPERTY_PROPERTIES_SQFT'); ?>

modules/mod_spproperty_properties/tmpl/default.php

<span class="property-price"><?php echo $property->price; ?>/<?php echo JText::_('MOD_SPPROPERTY_PROPERTIES_SQFT'); ?></span>



components/com_spproperty/views/property/tmpl/form.form.xml

<field name="property_status" type="list" label="COM_SPPROPERTY_FIELD_PROPERTY_STATUS" description="COM_SPPROPERTY_FIELD_PROPERTY_STATUS_DESC">
<option value="rent">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_RENT</option>
<option value="sell">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_SELL</option>
<option value="in_hold">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_HOLD</option>
<option value="pending">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_PENDING</option>
<option value="sold">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_SOLD</option>
<option value="under_offer">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_UNDER_OFFER</option>
</field>


-Thanks

pltweb

More than a month ago #Permalink
Hi,

I have the same problem with translation..

I found that the status goes from database table "spproperty_properties" column "property_status", not from language file.
But i dont know how to fix it.

Toufiq - Staff

More than a month ago #Permalink
Hi,

I have the same problem with translation..

I found that the status goes from database table "spproperty_properties" column "property_status", not from language file.
But i dont know how to fix it.


Hi, Please create a new forum post with in detail. Our support team will help you. Thanks

Angela Millan

More than a month ago #Permalink
Hi Toufiq and thanks for your answer.

I did what you asked me.

Regarding to remove back slash, I could remove it in the featured properties of the main page and in the full details of the property, but I could not remove it in the the section "Properties" (in my page see it in my page and in the demo ) of the main menu, that is when one enters to see the list of all the properties the back slash still there (attached image).

I would also like to know if there is any possibility of removing the word "Metros cuadrados" (in the demo it was "Sqft" ), that word is only seen when you see the featured properties on the home page (attached image).

And regarding to the translation nothing changed. I tried to find the "form.form.xml" file, but in the path directory (components/com_spproperty/views/property/tmpl/form.form.xml) it was not. In its place was default.xml which contained the same lines that you described in your answer, I changed those<br /> lines but nothing happened (attached image).


<field name="property_status" type="list" label="COM_SPPROPERTY_FIELD_PROPERTY_STATUS" description="COM_SPPROPERTY_FIELD_PROPERTY_STATUS_DESC">
<option value="">JALL</option>
<option value="Arriendo">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_RENT</option>
<option value="Vendido">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_SELL</option>
<option value="En Espera">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_HOLD</option>
<option value="pending">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_PENDING</option>
<option value="Vendido">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_SOLD</option>
<option value="En Oferta">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_UNDER_OFFER</option>
</field>



Thank you very much for your help. :D

Attachments (1)

  • back_slash_and_state_of_properties.jpg
    back_slash_and_state_of_properties.jpg 177.4 KB

Angela Millan

More than a month ago #Permalink
Hi, please do not forget me.

pltweb

More than a month ago #Permalink
Hi

I found the solution, but i think it doesn have to be this way.
The file "form.form.xml" is ubicated in folder administrator /administrator/components/com_spproperty/views/property/tmpl/form.form.xml.
You have to change the line<option value="SELL">to the one you need.
So the new property you create will gonna have the translation.

Angela Millan

More than a month ago #Permalink
Hi pltweb, thanks you for sharing this <3. It works :D.


Thanks a lot!

Vuong

More than a month ago #Permalink
Hello,

i have exactly same problem with translation.
please help me how to solve this issue. I want to translate the word "sold" to another language but don't know how to do it.
<option value="sold">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_SOLD</option>

pltweb

More than a month ago #Permalink
Hello,

i have exactly same problem with translation.
please help me how to solve this issue. I want to translate the word "sold" to another language but don't know how to do it.
<option value="sold">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_SOLD</option>


Hello,
Search the file "form.form.xml" that is ubicated in folder /administrator/components/com_spproperty/views/property/tmpl/.
In the line<option value="sold"> change the "sold" to the word you need.
After this every new property you create will have the translation, but the old properties still gonna have "sold". But if you edit old properties and save them again they will have translation too.

Toufiq - Staff

More than a month ago #Permalink
Hi,

Is there any problem till now? Please let me know and i will assist you guys.

-Thanks

Vuong

More than a month ago #Permalink
Hi,

Is there any problem till now? Please let me know and i will assist you guys.

-Thanks


Hello,

I need to translate the word "RENT" in the front end, where can i find the code please?

Attachments (1)

  • error spproperty2.png
    error spproperty2.png 294.5 KB

Toufiq - Staff

More than a month ago #Permalink
Hi,

Please send me the FTP login info via pm. I will help you.

-Thanks

Vuong

More than a month ago #Permalink
Hello,

i have exactly same problem with translation.
please help me how to solve this issue. I want to translate the word "sold" to another language but don't know how to do it.
<option value="sold">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_SOLD</option>


Hello,
Search the file "form.form.xml" that is ubicated in folder /administrator/components/com_spproperty/views/property/tmpl/.
In the line<option value="sold"> change the "sold" to the word you need.
After this every new property you create will have the translation, but the old properties still gonna have "sold". But if you edit old properties and save them again they will have translation too.


Thanks,

I solved this problem already. The properties is not linked with the value in file form.form.xml. so i got to re-open all records and save them again. after that it works. The template should be fix in next version.

Toufiq - Staff

More than a month ago #Permalink
Hello,

i have exactly same problem with translation.
please help me how to solve this issue. I want to translate the word "sold" to another language but don't know how to do it.
<option value="sold">COM_SPPROPERTY_FIELD_PROPERTY_STATUS_IN_SOLD</option>


Hello,
Search the file "form.form.xml" that is ubicated in folder /administrator/components/com_spproperty/views/property/tmpl/.
In the line<option value="sold"> change the "sold" to the word you need.
After this every new property you create will have the translation, but the old properties still gonna have "sold". But if you edit old properties and save them again they will have translation too.


Thanks,

I solved this problem already. The properties is not linked with the value in file form.form.xml. so i got to re-open all records and save them again. after that it works. The template should be fix in next version.


Hi, We will fix it next update. Thanks

Kevin

More than a month ago #Permalink
Thanks for the answers, helped me to correct the same error!

Toufiq - Staff

More than a month ago #Permalink
Thanks for the answers, helped me to correct the same error!


Hi, Please create the new forum post. Thanks

Frederico Moreira

More than a month ago #Permalink
I made the translation of RENT to AVAILABLE FOR RENT (DISPONÍVEL PARA ALUGUEL)
Some properties appear translated and others do not.
http://casaantigaimoveis.com.br/images/user-toufiq.JPG

http://casaantigaimoveis.com.br/imoveis/casas

Toufiq - Staff

More than a month ago #Permalink
Hi, Your site URL and image URL doesn't load.

https://prnt.sc/ib8rgh

http://casaantigaimoveis.com.br/images/user-toufiq.JPG

-Thanks

Frederico Moreira

More than a month ago #Permalink
I asked Rifat to help you.
He was able to access and solve another problem successfully.

Toufiq - Staff

More than a month ago #Permalink
Hi,

Send me the Joomla administrator access and FTP access via pm.

-Thanks


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 179
Sifat

Sifat

Total Accepted Answers: 98
Toufiq

Toufiq

Total Accepted Answers: 79
Pavel

Pavel

Total Accepted Answers: 4
SS

SuperSys IT Services

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us