Untranslated message

Support forumCategory: BugsUntranslated message
Andi Barrels asked 5 years ago
Hey Nikola First of all: thanks for the awesome tool you created!
I've been working to set it up to my needs and seem to be happy so far. One thing I could not resolve yet.
If a customer clicks on a time slot, that does not leave enough time for the appointment, there is the javascript message 'You can't select this time slot!'. Now I'm running on another language and would like to translate that. Is that possible?   Thanks!
Andreas
5 Answers
Nikola Loncar Staff answered 5 years ago
Hi Andreas, that should be possible. Have you created custom translation for EA?
Best regards, Nikola
Andi Barrels replied 5 years ago

Hello Nikola, no it was already translated to german. Then I found that message and downloaded a pluging called Loco Translate, but this sentence was not listed.

Best regards
Andi

GertC answered 4 years ago
Hi Nikola, Thanks for the nice plugin! I encounter the same issue: "You can’t select this time slot!" is not in the Loco translate editor. Is there a way to translate it in code, please? Thanks, Gert
olivier_lecomte answered 4 years ago
Hi Nikola,I also encounter the same issue: “You can’t select this time slot!” is not in the Loco translate editor. Thanks, Olivier
yannick_boschel answered 4 years ago
Hi Nikola, I created custom translation for French language. Where could I put these Po and Mo files to let other French be able to use it with EA ? Thanks and regards. Yann
olivier_lecomte answered 4 years ago
Hi all, I\'ve put the following strings into /easy-appointments/languages/easy-appointments-fr_FR.po because they were missing ( I\'ve found them in easy-appointments-en_US.po file). Maybe the same applies to other languages. Now, it\'s possible to translate using Loco Translate plugin. #: src/frontend.php:475msgid \"You can\'t select this time slot!\'\"msgstr \"\" Regards, Olivier
olivier_lecomte replied 4 years ago

Hi all,
I’ve put the following strings into /easy-appointments/languages/easy-appointments-fr_FR.po because they were missing ( I’ve found them in easy-appointments-en_US.po file).
Maybe the same applies to other languages.
Now, it’s possible to translate using Loco Translate plugin.

#: src/frontend.php:475
msgid “You can’t select this time slot!'”
msgstr “”

Regards, Olivier

GertC replied 4 years ago

Super! Thanks!