Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    Is this what you are trying to do?

    https://michaelwalsh.org/wpgforms/pkarlen/

    To achieve this I added “?hl=ru” to the end of your Google Docs URL.

    Thread Starter pkarlen

    (@pkarlen)

    Thank you.

    I realized I had the Default Text Override on. That seems to break the language parameter.

    One more thing. I still can’t make the Default Text Override work. I tried with and without adding “?hl=ru”. Do you need to do anything else than setting it to “on” and adding your own text?

    Thanks

    Plugin Author Mike Walsh

    (@mpwalsh8)

    There was a bug in the default text override which I fixed last week in v0.82 – are you running the latest update?

    All you should have to do is enable it and set your the override text on the plugins setting page on the Advanced tab.

    Thread Starter pkarlen

    (@pkarlen)

    The Default Text Override is still not working. I’m using v0.82 with Divi Theme.

    What could be the problem?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Can you provide some additional details?

    What language parameter are you using on your URL?

    What is the button text showing and what do you want it to be?

    Does your page have any JavaScript errors? Look in your browsers error console.

    Thread Starter pkarlen

    (@pkarlen)

    I’ve tried both with and without the language parameter “?hl=se” (the language parameter doesn’t seem to do anything, everything is still in English). The continue button still says “Continue”. I want it to say “Forts?tt”. This is the page: https://pkarlen.com/test/frgeformulr/.

    No Javascript errors are showing up in the Chrome console.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    The Google Docs language parameter for Swedish is “sv” not “se”. Your language parameter should have “?hl=sv” at the end up of it. You can get a form which looks like this:

    https://michaelwalsh.org/wpgforms/sample-form-in-swedish/

    The questions are still in English but the buttons and “Required” are now in Swedish.

    Now for the override buttons, I’ll have to look at it again. I did a lot of testing on it when I found the last bug, maybe I missed something.

    I’m not getting the override buttons to work. I have been working on this (since I last reviewed my forms, now all of them show filipino language in the google default feilds) for several hours, reading here and others and thought I had an easy fix to force the language with the override buttons, but no joy. Just updated the plugin to .84. ??

    Plugin Author Mike Walsh

    (@mpwalsh8)

    The override buttons are added via a jQuery script after the page loads which means if you have any Javascript errors on your page, the jQuery script won’t run and your overrides will never be applied.

    If you’re seeing Google text in a non-desired language, it can typically be fixed by adding the language parameter to the form URL within the WordPress definition of the form. The language parameter takes the form ?hl=XX where XX is a valid Google Docs language code.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Language parameter & default text overrides not working’ is closed to new replies.