Support » Plugin: Gravity Forms Advanced File Uploader » Changing language, wrong snippet in documentation

  • Hi,
    I was also facing a problem changing the language (to ‘de’)
    The problem is also described here, with a solution (missing dollar sign):
    https://wordpress.org/support/topic/changing-language-does-not-work/

    The code snippet in the documentatiom section “Change Plupload language” is wrong. This should be the correct snippet. The single quotes are also interpreted wrong and caused the wrong formatting of the snippet:

    
    add_filter( 'prso_gform_pluploader_i18n_script', 'plupload_i18n' );
    function plupload_i18n( $i18n_filename ) {
      //Use fr,js file - remove .js from filename
      $i18n_filename = 'de';
      return $i18n_filename;
    }
    

    Regards,
    Jan

  • The topic ‘Changing language, wrong snippet in documentation’ is closed to new replies.