• Resolved nicmedia

    (@nicmedia)


    Dear all,

    i use the plugin with german language and everything works fine. Currently I´d like to change the name of the “Absenden-Button” (in English: Submit). For foreign visitors of my site I will name it “Absenden/Submit”.

    I tried to change the corresponding words in DE.mo and DE.po. What happens: The whole formular changes language from German to English.

    Any idea, what went wrong, and where I have to change the text?

    Best regards,
    nicmedia

    https://wordpress.org/plugins/gwolle-gb/

Viewing 1 replies (of 1 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hmm, something went wrong in encoding the MO file perhaps?

    You can use a filter for the form like this. Make sure you get all the characters right. Untested, so not sure what happens with the slash :).

    <?php
    function your_custom_function($form) {
        // $form is a string
        $old = 'Absenden-Button';
        $new = 'Absenden/Submit';
        $form = str_replace( $old, $new, $form );
        return $form;
    }
    add_filter( 'gwolle_gb_write', 'your_custom_function');
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Change name of Submit-Button in german language’ is closed to new replies.