• Hi I used this:
    add_filter( ‘prso_gform_pluploader_i18n_script’, ‘plupload_i18n’ );
    function plupload_i18n( $i18n_filename ) {

    //Use nl,js file – remove .js from filename
    $i18n_filename = ‘nl’;

    return i18n_filename;
    }

    ( The Dutch translation) and put it in the themes functions.php on the bottom.
    But in my forms the language still stays in english!

    i also tried this;( replaced above with this)
    add_filter( ‘prso_gform_pluploader_i18n_script’, ‘plupload_i18n’ );
    function plupload_i18n() {
    return ‘nl’;
    }

    and still it is in English.
    What can I do? Please help

    • This topic was modified 6 years, 8 months ago by lona.
Viewing 1 replies (of 1 total)
  • Plugin Author ben.moody

    (@benmoody)

    Hi,

    Small errror in your code, return i18n_filename should be return $i18_filename (missing $ sign), see below:

    add_filter( ‘prso_gform_pluploader_i18n_script’, ‘plupload_i18n’ );
    function plupload_i18n( $i18n_filename ) {
    
    //Use nl,js file – remove .js from filename
    $i18n_filename = ‘nl’;
    
    return $i18n_filename;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Changing language does not work’ is closed to new replies.