• Resolved Paulo Gomes

    (@pgomes2000)


    Hi,

    I want to edit the page/form to translate it and do customize the format.

    With which form/page builer can i edit it?

    Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hello gomes,

    Thanks for contacting us. To translate most of the strings, you can use any regular translation plugin like WPML or Loco Translate. And to modify the form, you can use CSS to style it the way you want. If you have any specific questions about styling or CSS, please let me know.

    Thread Starter Paulo Gomes

    (@pgomes2000)

    Hi Jay,

    Thank you for the reply.

    I have Loco Translate, and everything is translated to Portuguese, only the form are in English.
    Please take a look here:
    https://restdemo.gratis/restdemo/index.php/reservations/

    Hope you can help me translate the form to Portuguese.

    Thank you very much.

    Plugin Support jaysupport

    (@jaysupport)

    Any default labels in the plugin will be localized, so should be picked up by any translation plugin. They will, however, not be automatically translated. Did you search for the words you want to translate in Loco Translate?

    Thread Starter Paulo Gomes

    (@pgomes2000)

    Hi Jay,

    With Loco Translate plugin is see all the messages translated to Portuguese.
    If I searh for “BOOK A TABLE” i found the respective translation in Portuguese.

    Is there any plugin to edit the forms from plugins?
    I ask it because i don’t like the icon on the left of “BOOK A TABLE” and “CONTACT DETAILS”, i prefer to remove it.

    Thanks for your support.

    • This reply was modified 3 years, 9 months ago by Paulo Gomes.
    • This reply was modified 3 years, 9 months ago by Paulo Gomes.
    • This reply was modified 3 years, 9 months ago by Paulo Gomes.
    Plugin Support jaysupport

    (@jaysupport)

    Hello gomes,

    You can likely solve this issue using some Custom CSS and I can help with?that. Could you provide the URL to your page so I can take a look?

    Thread Starter Paulo Gomes

    (@pgomes2000)

    Hi @jaysupport.

    The translation is done, only the “SHARE THIS” and “LIKE THIS” i was not able to translate.
    But if you can help me to remove the icon before “RESERVAR UMA MESA” and “DETALHES DE CONTACTO” i will appreciate.

    Thank you.

    Plugin Support jaysupport

    (@jaysupport)

    For that, you can try adding the following custom CSS:

    .rtb-booking-form legend::before, .rtb-booking-form .add-message a::before {
        content: '';
        margin-right: 0;
    }
    Thread Starter Paulo Gomes

    (@pgomes2000)

    Thank you @jaysupport
    It solves the problem with the icon.

    I have copied the languages pt_BR to pt_PT, but for example i still have “Want to cancel your reservation?” in English, see https://imgur.com/2EZLjIy.
    I have the plugin “Loco Translate” and “Polylang” but i dind’t find the strings to translate.

    Can you give me a help with this?

    Thanks

    Best regards.

    Plugin Support jaysupport

    (@jaysupport)

    Hello pgomes2000,

    Unfortunately, it looks like that string is directly added into the JavaScript file, which is why it wouldn’t be showing as available for translation in Loco Translate. We will need to add this term to our localize_script for the enqueue for this JS file. We will look to do this in our next update. In the meantime, it will not be found by plugins like Loco Translate and the only way to modify it would be directly in the code.

    Thread Starter Paulo Gomes

    (@pgomes2000)

    Hi @jaysupport,

    Thanks for the reply.

    Just tell me which file/directory and i will translate it, no problem.

    Best regards.

    Plugin Support jaysupport

    (@jaysupport)

    Actually, upon further investigation, this string is definitely already localized. If you look for “wp_localize_script” in restaurant-reservations.php, you’ll see the “want_to_cancel” entry. What I think might actually be happening is that the .pot file doesn’t include this entry. I’ve just generated a new .pot file, which you can download here:

    https://www.fivestarplugins.com/downloads/restaurant-reservations.pot

    (You’ll need to replace the existing file in the “languages” folder with this one.)

    That one definitely now has an entry for that string, meaning it will now be found by translation plugins.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How can i change the page/form’ is closed to new replies.