Okay
  Public Ticket #2811204
Booking confirmation
Closed

Comments

  •  1
    Phil Holmes started the conversation

    Is there a way to amend the on screen message when a booking is successfully completed ? At the moment the grammar is incorrect


    Thanks

  • [deleted] replied

    Hi, Phil,

    Sorry for the delayed response, we don't work on weekends.

    In order to modify the strings on the "Trophy" page ("Congratulations" and "Thank you! Your booking is completed."), you can simply edit the translation files located in ../wp-content/plugins/ameliabooking/languages/

    If you use English as the default language, you simply need to modify the translation strings in the ameliabooking-en_US.po file, found in en_US folder. I can suggest using Loco Translate, or POEDIT.

    Best Regards. 

  •  1
    Phil Holmes replied

    No problem, thanks for the prompt response.

    My language is set to English UK. In the languages folder I do not have ameliabooking-en_US.po only wpamelia-en_US.po

    I modified this file and wpamelia-en_GB.po but the message on the front end has not been amended

    Thanks, phil

  • [deleted] replied

    Phil,

    Thank you for the clarification.

    Can you please tell which string exactly should be modified? And also, which license do you have? I will modify the file for you in order to make sure the issue isn't coming from the Loco Translate/POEDIT end.

    Best Regards.

  •  1
    Phil Holmes replied

    Hi Liza,

    This is the change I made

    Line 5997

    #: src/Infrastructure/WP/Translations/FrontendStrings.php:101
    msgid "Thank you for your booking. We will contact you shortly to discuss arrangements."
    msgstr ""

    in

    wpamelia-en_GB.po


  •   [deleted] replied privately
  •  1
    Phil Holmes replied

    Thank you, works perfectly

  • [deleted] replied

    Phil,

    Thank you for letting me know, I'm glad I could help.

    Please save this file on your local machine since you will have to re-upload it after the update again.

    Best Regards.