Switch the word "children" for "pets" site-wide

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Switch the word "children" for "pets" site-wide

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #657491
    Nicky Pink
    Participant

    Is it possible to switch the word “children” for “pets” site-wide? I’ve been able to change it in a couple of places by altering the template php files, but I’m wondering if there is an easier way than editing every single template?

    Many thanks!

    #657502
    Steve
    Keymaster

    Hi Nicky,

    1. Install “Loco Translate” plugin from wp.org and activate it.
    2. Navigate to Dashboard > Loco Transalte > Plugins and click Hotel Booking.
    3. Click New Language.
    4. Choose “English (United States)” or your current language and press Start translating.
    5. Use “filter” field to find all strings with ‘children’.
    6. Translate “Children” to “Pets”.
    7. Save and check the result.

    …and revert back all template php files 😉

    #657855
    Nicky Pink
    Participant

    Many thanks!!

    #684644
    Corey Auger
    Participant

    Wanted to thank you for these instructions! Worked like a charm after I found the right “Adults” to translate.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.