How To Change The Thousands Separator Form Comma To Dot? - Question | JoomShaper

How To Change The Thousands Separator Form Comma To Dot?

D56 WebDesign

D56 WebDesign

Template 2 weeks ago

Hello Support team,

I started with the empire-quickstart, then managed to get, with help of https://www.joomshaper.com/documentation/joomla-extensions/sp-property/faq-customization, a translation into Dutch.

The only thing that is not correct yet is the thousand seperator. With a real estate price of USD100,000 I want it shown as EUR100.000.

Where can I change the thousand , (comma) to a . (dot)?

(the website is still on a localhost)

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 weeks ago

Hi there!

This requires code customization!

You need to go to the following location: \components\com_spproperty\helpers\helper.php Then you may make the following change: commaTOdot.png Hope this will solve the issue for you.

Note: Code customization is prohibited here, customers need to do it personally.

Best Regards

0
D56 WebDesign
D56 WebDesign
Accepted Answer
1 week ago

Hello Rashida,

Yes, this works! Thank you very much.

Question, is the helper.php updated/overwritten when installing a new version of the component? And wouldn't it be better/wiser to include the demand for a comma or a point in xx-XX.com_spproperty.sys.ini for example as COM_SPPROPERTY_CURRENCY_THOUSAND if possible? In this case, a user can choose which separator is wanted.

Best Regards

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 week ago

Hi,

Yes, it will be overwritten with a update, you need to keep backup of this...

I will convey your wish to the team.

You are most welcome and thanks!

Best Regards

0