Broken path when loading Plupload JS i18n translation files
-
I’m a french user of the NextGEN Gallery plugin and I just found a translation bug on loading plupload i18n files.
On the “Add Gallery” page, translations for buttons like “Star Upload” are never loaded… by searching into the module files, I found into the “_find_plupload_i18n()” declaration that path “file_exists($dir . $tmp[0] . ‘.js’)” never match any translation file (fr.js in my case). [Line 410 / 413 in products/photocrati_nextgen/modules/nextgen_addgallery_page/package.module.nextgen_addgallery_page.php]
I managed to fix the error temporarily by completing the missing “/” and replacing the path with “file_exists($dir . ‘/’ . $tmp[0] . ‘.js’)” and translation file has been well loaded.
Is there another solution ? Could you correct this error permanently ?
- The topic ‘Broken path when loading Plupload JS i18n translation files’ is closed to new replies.