Hello,
Thank you so much for creating such a necessary component.
However, it’s really strange why you didn’t think that your component should be completely multilanguage. Please, put all the words used on the front page into one language file. It’s not normal that you have to go into the code and edit something there so that the days of the week are displayed in another language.
I can not find the line locale: 'en_US' in these files:
...\components\com_jux_timetable\views\schedule\tmpl\default_schedule.php at line 243
...\modules\mod_jux_timetable_schedules\tmpl\default.php at line 256
and change
What should I do? I need the days of the week in Russian and Estonian languages!
Hi
If you want, I will try to change the language of the front-end timetable to match the language of the website you are displaying, for example, the website is displaying in Russian, the timetable front-end will automatically switch to. Russian
If you are interested I will try the custom for you
Thanks
Hi HaiND,
Of course I want you to help me do this. What is required of me? Our website uses two languages, as I wrote above, Russian and Estonian. The page with the calendar is located at
irisballet.ee/group-ru/timetable-ru
Hi
It seems to me that your proposal is not entirely reasonable. Why can't you offer a solution that will be useful to everyone and you do not need to be distracted every time by this problem?
Please change the code on your side and update the component for all users or write instructions on how to change the calendar to multilingual!
Hi
Please go to file:
...\components\com_jux_timetable\views\schedule\tmpl\default_schedule.php at line 243
...\modules\mod_jux_timetable_schedules\tmpl\default.php at line 256
Hi HaIND,
Thank you very much for the help! The solution turned out to be very simple and perfectly functioning!
The problem was that I had this 485 line (not 243), so I could not find it before. To work with the code, I use Visual Studio Code and apparently there is a different line numbering.
But I still don’t understand why you won’t change this line in yourselves and release a component update to completely close this topic in the future? After the solution is simple and correct for all users!
Dear HaiND,
The problem of a multilingual site is solved for desktops, once again, thank you. However, there remains a problem with smartphones. The solution proposed below works if you need one language. What to do if your site two or more languages to be used ?!
If you translate on mobile, please go to file:
...\components\com_jux_timetable\libraries\jux_class.php and change from line 27 to line 39