Support » Plugin: Frontend Uploader » error messages

  • Resolved jnz31


    hi and thanks for this tool. works fine on my end.
    i have one question regarding language: the wp installation is set to german, a lot of content on the site is, but in the area, that is using the frontend uploader, the site is in english. i tried to find my way to the error messages (please fill in required field xy) but had no luck.
    how can i modify those messages..?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rinat Khaziev


    Hmm, I can’t reproduce it. This is how it looks like to me:

    Some of the strings are missing, if you want to help with translation please let me know.

    hi rinat

    i want to modify the strings. like i said, the site is multilingual, but i dont want this tool to operate multilingual, it should run english only.

    i can help to translate, no problem.

    Plugin Author Rinat Khaziev


    Oh I see. There’s a couple of ways around, first would be to filter plugin locale value like this:

    add_filter( 'plugin_locale', 'my_override_fu_locale', 10, 2 );
    function my_override_fu_locale( $locale, $domain ) {
    	// Return global WPLANG locale for any other plugin
    	if ( 'frontend-uploader' !== $domain )
    		return $locale;
    	// Return English locale for Frontend Uploader
    	return 'en_US';

    Put that code in functions.php of your theme. This is untested and might conflict with other plugins (let me know if that’s the case).

    Other option would be deleting de_DE files from languages folder in the plugin folder. Obviously this option is less than optimal because you’ll have to delete them each time the plugin is updated.

    that didnt do the trick, so i tried around and finally found the snippet. its in the jquery.validation localization.

    guess this feature depends on the language, that is definded in wp-config.

    thanks for the help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘error messages’ is closed to new replies.