Okay
  Public Ticket #2893789
Changing customize frontend button labels
Closed

Comments

  •  6
    Paal Joachim started the conversation

    Hi

    Being able to change almost all the labels seen in the booking form has been an awesome help!

    It would be nice to also be able to change the default button labels such as: "Continue", "Back", "Finish" and "Add to Calendar" as one might want to use other phrases for these buttons. Perhaps having an area to where the various buttons are seen and an edit icon beside each to change the label name.

    I am actually using Norwegian. I also selected Norwegian in the Customize screen, and all the various labels I could change into Norwegian phrases. So the only thing remaining as far as I can tell is changing the button labels.

  • [deleted] replied

    Hi Paal!

    Thank you for contactingsmile.png

    You can change the labels using POEDIT or Loco Translate easily. I suggest installing Loco Translate, since it's within WordPress and it has a simple UI.

    If you want to use POEDIT then please follow these instructions:

    1. Download Amelia from our TMS Store and save the ameliabooking.zip file on your computer.

    2. Unzip downloaded file.

    3. Download and install POEDIT. 

    4. After that, open the program and open the file from the extracted folder on your computer ameliabooking/languages/en_US/wpamelia-en_US.po.

    5. Translate those strings or rename them.

    6. Save the file as the plugin suggests (the language code; for example wpamelia-id_ID.po if your language is Indonesian) and it will generate a new wpamelia-id_ID.mo file. You can find your language code here. 

    7. Go to ameliabooking/languages/ folder and create a new folder. Name it as the language code for your language (in our case, for Indonesian, it is id_ID) and then copy these two files called wpamelia-id_ID.po and wpamelia-id_ID.mo into it. Proceed with copying the whole folder id_ID back to your website in folder ../wp-content/plugins/ameliabooking/languages/.

    Of course, you will use language code for your language (we use Indonesian language, and its language code "id_ID" is just an example).

  •  6
    Paal Joachim replied

    Hi Ivana

    I got it working.

    But I would suggest adding the button labels to the Customize screen for direct renaming. As one might want to change the button labels in the same language to another phrase. As it is an easy way to adjust phrases directly in the Customize screen.
    Please send it onward. Thank you!

    Ps
    How would I go about sending in the language files I made to Amelia so that they can be included with the plugin?

  • [deleted] replied

    Hi Paal!

    Sure; like we have for Employee and Service in Amelia > Settings > Labels. I forwarded the suggestion; thank you so much!smile.png