Translating Days In Medico Template. - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Translating Days In Medico Template.

AK

Aleksandr Kowalczuk

Template 2 years ago

Hi, I'm currently trying to translate the Medico template. I can't find where to translate strings from specialist available days names (Monday, Friday etc). From what I've noticed they are stored as JSON in the database. Is there any way to modify that? I've already modified two files: both en-GB.com_spmedical in language and in administrator.

0
5 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #132393

You have to change in 2 places.

  1. administrator/language/en-GB/en-GB.com_spmedical.ini

https://prnt.sc/rTxL2mbmR7OZ

  1. administrator/components/com_spmedical/models/fields/visiting_times.xml

https://prnt.sc/IlJ-Y_8wtWMV

Then save it in the Specialist details.

https://prnt.sc/7hJzybJTETp5

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #132238

Hello Aleksandr Kowalczuk

Please share a screenshot of your issue to understand it better. Take a screenshot and share via any platform. For example: Lightshot or Imgur

Best regards

0
AK
Aleksandr Kowalczuk
Accepted Answer
2 years ago #132268

I'm to translate this part here - specialist details: https://imgur.com/a/EWlxIwy I managed to translate part of it in the backend editor (3rd picture), but the rest of it is still the same (1st and 2nd picture). From what I've noticed the enum description in the editor can be easily translated in the .ini files you provide but it still stores the untranslated days in a json string in the database. Tried creating a new specialist but it still has untranslated names.

0
AK
Aleksandr Kowalczuk
Accepted Answer
2 years ago #132451

Right, the translated days show up after updating the specialist. Thank you for your help.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #132501

You are welcome 😊

I have a humble request. It would be very kind of you if you can manage some moment to give us feedback on 

  1. Joomla Extension Directory
  2. TrustPilot

This will inspire us to improve.

0