File upload not working in translated site
-
Hi there,
We’re plugin developers and we encountered an incompatibility issue with one of our plugins and Gtranslate,In the original site language, the file upload will work fine,
However, in the translated version, the following error will be shown:
“Please choose a file”The code we are using is:
// Throws a message if no file is selected if ( ! $_FILES['b2bking_csvorder']['name'] ) { wc_add_notice( 'Please choose a file', 'error' ); }
Any idea why this could be? Could it be that the translation plugin tries to translate ‘name’ ? Any suggestions would be helpful, thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘File upload not working in translated site’ is closed to new replies.