Okay
  Public Ticket #2914399
Translating all the plugin
Closed

Comments

  • emilio alviarez started the conversation

    Hello i am currently trying to translate the whole pugin to spanish but I am unable to succeed.

    There are still Items on english I dont want the users to see.


    Thank you

  • [deleted] replied

    Hi Emilio,

    thank you for reaching out to ussmile.png

    The default language of your Amelia will be the one that you have chosen in the WordPress settings.

    The plugin can be translated 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 all the strings on your language.

    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).

    When you finish that, it would be nice to send us the translation, so we can include it in our next major update so you don't have to copy this folder from local machine on every update.

    Hope this helps.