Support » Plugin: Google Forms » captcha translation

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

    (@mpwalsh8)

    You should be able to include “What is” in your translation as it is localized in the plugin the same way all other strings are. Here is the code fragment which injects the text into the HTML:

    if ((int)$wpgform_options['captcha_terms'] === 2)
                    $captcha_html .= sprintf('<label for="%swpgform-captcha" class="%sss-q-title">%s %s %s %s ?', $uid, $prefix, __('What is', WPGFORM_I18N_DOMAIN), $a, $op1, $b) ;
                else
                    $captcha_html .= sprintf('<label for="%swpgform-captcha" class="%sss-q-title">%s %s %s %s %s %s?', $uid, $prefix, __('What is', WPGFORM_I18N_DOMAIN), $a, $op1, $b, $op2, $c) ;

    thank you for assistance…
    i have to admit that i dont know how to deal with the information you gave me (newbie here 🙂

    i havnt found google forms here >
    https://translate.wordpress.org/locale/cs/default/wp-plugins?s=google+forms

    i couldnt translate it through loco translate plugin

    why is not this value in settings of that plugin because it offers basic translation by itself…

    thank you for helping lame wp users 😀

    kubax

    Plugin Author Mike Walsh

    (@mpwalsh8)

    There are too many strings in the plugin to provide a setting for each one which is why the plugin using WordPress’ localization mechanism. There are several translations provided with the plugin and all were developed by plugin users and contributed to me. If/when I receive a translation, I add it to the plugin so it is included with the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘captcha translation’ is closed to new replies.