1. Medico
  2. Tuesday, 10 April 2018
Hi,
Is it possible to install an additional language on the SP Medical component ?
I have to translate it into French.
Thank you !
ESF
Accepted Answer
Hi,
yes it should be possible.
This component use .ini files like any-other.
But we do not have French language package yet.
---
https://www.joomshaper.com/documentation/joomla-templates/medico#sp-medical

Read "How to translate phrases"
  1. more than a month ago
  2. Medico
  3. # Permalink
Responses (12)
Thank you !
Now, I can translate everything from the .ini file.
But I can not find where to translate the form fields like: Patient Name, Phone, etc.
Could you give me any idea ?
ESF
  1. more than a month ago
  2. Medico
  3. # 1

COM_SPMEDIACL_VIEW_APPOINTMENT_TITLE="Appointment"
COM_SPMEDICAL_FIELD_PATIENT_NAME="Patient Name"
COM_SPMEDICAL_FIELD_PATIENT_PHONE="Patient Phone"
COM_SPMEDICAL_FIELD_PATIENT_EMAIL="Patient Email"
COM_SPMEDICAL_FIELD_PATIENT_APPOINTMENT_DATE="Appointment Date"
COM_SPMEDICAL_FIELD_PATIENT_APPOINTMENT_TIME="Appointment Time"
COM_SPMEDICAL_FIELD_PATIENT_APPOINTMENT_NOTE="Appointment Note"
COM_SPMEDICAL_FIELD_PATIENT_DOCTOR_NAME="Doctor Name"


are here: administrator\language\en-GB\en-GB.com_spmedical.ini
  1. more than a month ago
  2. Medico
  3. # 2
Hi,
1. The "Narrow your search" doesn't have translation in ini files.
You must search in /components/com_spmedical/layouts/specialists/filter.php on line 24 and translate the text.
2. There are no translations for the weekdays displayed on the doctor's profile. - http://take.ms/LgrQE
3. There are no translations for the subject of the mail sent at the time of the appointment: "You have an appointment request from Email Address:" and for email content: http://take.ms/0IYxc
Appointment ID : 4
Patient Name : FFFFFFF
Patient Phone : 075636521456
Patient Email :[email protected]
Appointment Date : 2018/11/23
Patient Note : SADASDSADSAD SDSADSADSA

Please advise.
  1. more than a month ago
  2. Medico
  3. # 3
ad 3) Indeed you have to translate here:
components\com_spmedical\controllers\appointments.php

ad 2) Have you tried translate those

COM_SPMEDICAL_MONDAY
COM_SPMEDICAL_TUESDAY
COM_SPMEDICAL_WEDNESDAY
COM_SPMEDICAL_THURSDAY
COM_SPMEDICAL_FRIDAY
COM_SPMEDICAL_SATURDAY
COM_SPMEDICAL_SUNDAY
  1. more than a month ago
  2. Medico
  3. # 4
Hi Paul,

Indeed you have to translate here:
components\com_spmedical\controllers\appointments.php
Thanks, for now is ok, but you must create a translation in .ini file for this and the "Narrow your search" from /components/com_spmedical/layouts/specialists/filter.php
Indeed you have to translate here:
components\com_spmedical\controllers\appointments.php

Yes, all the "Schedules" from lang.com_spmedical.ini are translated but are not affecting the front-end
Please advise.
  1. more than a month ago
  2. Medico
  3. # 5
But here Monday-Sun are as a language phrases
components\com_spmedical\views\schedules\tmpl\default.php


whole rest
Probably hard-coded inside component code. :(
  1. more than a month ago
  2. Medico
  3. # 6
On the Schedule menu item are translated correctly, but on Specialists menu item and specialist profile they are in english... pic 1 http://take.ms/qjS3R pic 2 http://take.ms/Arznd
Please advise. I need to translate this.
  1. more than a month ago
  2. Medico
  3. # 7
Why is a solution to hard code words that can be translated in other languages? The interest is to sell all over the world, right?
  1. more than a month ago
  2. Medico
  3. # 8
Why is a solution to hard code words that can be translated in other languages? The interest is to sell all over the world, right?


Really sorry, somebody made a mistake. Forgot about other languages, just happens.
----
About Monday, ... and other days
I am afraid that it can be inside
components\com_spmedical\assets\js\bootstrap-datepicker.min.js
components\com_spmedical\assets\js\jquery-ui.js

or even database only
  1. more than a month ago
  2. Medico
  3. # 9
Really sorry, somebody made a mistake. Forgot about other languages, just happens.
I understand, but i hope you will solve this as soon as possible.
About Monday, ... and other days
I am afraid that it can be inside
components\com_spmedical\assets\js\bootstrap-datepicker.min.js
components\com_spmedical\assets\js\jquery-ui.js

or even database only
By translating the mentioned files doesn't change the Specialists list nor Specialist Profile. He changes the Appointment calendar.

Thank you and i'm waiting the next version. If you do have some advice until then, i'm opened for solutions.
My project must be translated until... yesterday LOL
  1. more than a month ago
  2. Medico
  3. # 10
I have exactly the same problem. Hope you guys can fix it soon.
  1. more than a month ago
  2. Medico
  3. # 11


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.