Holiday Notice – Support Unavailable on April 18 and April 21

We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!

In the meantime, if you need any help, feel free to:

Amelia YouTube Channel

wpDataTables YouTube Channel

Thank you for your understanding, and we wish you a wonderful holiday weekend!

Okay
  Public Ticket #2942077
Payment methods label translated
Closed

Comments

  • Arthur Doyen-Rodriguez started the conversation

    Hi,

    I really need to customise the labels in the payment methods box especially the "On Site" and "Online"

    I'm French, my clients are french and they didn't understand "On site" which means "sur place" : they could be confused and believe it's "on the website" With Amelia we are only able to customise the label of the box title which I'm realy disappointed of. Every single word should be customisable because you have a toggle to switch languages, but not all words displayed are translatable. ???

    Need some help here please. It's realy urgent

  • [deleted] replied

    Hi Arthur

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    The images for payments on the front-end can be changed in /wp-content/plugins/ameliabooking/public/img/payments/icons/ and /wp-content/plugins/ameliabooking/public/img/payments/ folders. Keep in mind that the size of images need to stay the same, along with the name of the image file. Also, until we include this as a customization option in Amelia/Customize, you will need to do this every time the plugin updates.

    As for the text below icons, it is possible to change this now, but it's not a perfect solution.

    You need to go to ameliabooking/public/js/chunks/ folder and open the file that looks like this:

    amelia-booking-booking-e699bcfa2244b52e0818.js

    The hash may be different, so if it's not "e699bcfa2244b52e0818" it is something else, it's important to look for amelia-booking-booking-hash.js

    When you edit this file, look for "On-Site", "Paypal", "Stripe", "Online" (case sensitive), and you'll see this:

    case"paypal":return"Paypal";case"stripe":return"Stripe";case"onsite":return"On-Site";case"mollie":return"Online"
    

    You can change all values in quotations, after "return" and it will change on the front-end, so for example, change:

    return"On-Site"

    To:

    return"Invoice"

    And so on. Our developers are working on a more elegant solution, but at this time, it's the best one we can offer.

    The file I told you to modify is the step-by-step [ameliabooking] form, so if you're using [ameliacatalog], you'd need to change a different file (same folder, only amelia-booking-catalog-hash.js).