• Resolved rodrigomolina

    (@rodrigomolina)


    Hi, I am from Spain but I want my webpage only in english language. Althogh I have wordpress preferences set to english language the plugin somehow recognise my location (maybe the google API) and it save the address fields in spanish and the placeholder for the search bar is also in spanish…
    Is there a way to change it?

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    recognise my location (maybe the google API) and it save the address fields in spanish and the placeholder for the search bar is also in spanish…
    Is there a way to change it?

    this is a browser setting. The Google js script adapts to your browser language. Change your browser to english and it should display in english.

    I am not aware of any way to change the browser locale using javascript.

    Thread Starter rodrigomolina

    (@rodrigomolina)

    I had my browser already set to english.
    Adn for the placeholder of the search bar is the same? is it set automatically?

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I had my browser already set to english.

    so if you are reffering to addresses, they also appear as per their original name for me, so that’s a google maps default I am afraid.

    Adn for the placeholder of the search bar is the same? is it set automatically?

    no this you can change using css/javascript

    Thread Starter rodrigomolina

    (@rodrigomolina)

    I have been trying to change the placeholder text for a while, but I have no idea of coding…
    I managed to change the placeholder style by additional css, but the text I haven´t found the way…

    Plugin Author Aurovrata Venet

    (@aurovrata)

    I have been trying to change the placeholder text

    you can do so using jquery.

    Thread Starter rodrigomolina

    (@rodrigomolina)

    Hi!
    Thank you for the response. I have read the examples and have tried to replicate in my contact form, with no luck.. I don´t know wich word I have to change “#yourtextboxid” for, in this example:

    $(“#yourtextboxid”).attr(“placeholder”, “variable”);

    I can see in the html code of the web that it is related to:
    <input name=”search-your-location” id=”search-your-location” value=”” class=”cf7marker-address pac-target-input” type=”text” placeholder=”Escribe tu consulta” autocomplete=”off” style=”display: inline-block;”>

    But I have no idea of coding… Sorry to bother you, I understand if you can´t look at it.. I am asking to much…

    Plugin Author Aurovrata Venet

    (@aurovrata)

    But I have no idea of coding… Sorry to bother you, I understand if you can´t look at it.. I am asking to much…

    well its a matter of principle. I code plugins for free, but I charge for solutions. So I generally refrain from giving actual solutions.

    I don´t know wich word I have to change “#yourtextboxid” for, in this example:

    you need to learn to code. inspect, and debug a javascript using your browser console tool.

    Anyhow, the short answer is $('#search-<field-name>') where you replace <field-name> with your actual field name.

    Thread Starter rodrigomolina

    (@rodrigomolina)

    Thanks!

    I´ll try that.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Language’ is closed to new replies.