Okay
  Public Ticket #534691
Change Inquiry
Closed

Comments

  • Donna started the conversation

    Hi,

    I am based in the UK, your template is awesome and is everything I was looking for.

    I have a few minor tweaks, such as the word "Inquiry" on the single accommodation page, we spell it "Enquiry"

    I have been through your comments page and I notice other people have requested a change, you have directed them to includes/parts/accommodation-contact-form.php

    I have been onto my FTP but I can't find the above link

    There is booking-form. And confirmation-form but I can't find the contact form.

    Please can you direct me to the correct please? All I want to do is change the spelling on the button that says "Send Inquiry"

    Many thanks


    Donna Sumner

  •  2,172
    Theme replied

    Hi,

    Please have a look at sidebar-right-accommodation.php line 57

    BYT_Theme_Utils::render_link_button(\"#\", \"gradient-button right contact-accommodation\", \"\", __(\'Send inquiry\', \'bookyourtravel\'));

    Btw, if you have more than one keyword to change, the easiest way to change any text that\'s hardcoded in php files is to \"translate\" the theme from English default to English UK.

    What I mean by this is to use poedit (free program, Google it please) to edit the languages/default.po file found in the theme using poedit, make changes to keywords and save the file as en_GB.po. Poedit will then also auto-generate en_GB.mo. Keep the files in the same languages folder. Finally, go to Settings -> General, scroll to the bottom and change the language to English (GB).

    You only need to change the keywords you need to be different, not all keywords.

    WordPress will then use your translated keywords instead of the original texts.

    Thanks

    Best regards,

    themeenergy support