Thank you for creating such a great plugin!
I'm currently having an issue with File Gallery with the WPML plugin installed. Issue is occurring when File Gallery is attempting to insert the "Copy all attachments from this translation " buttons on the edit post page. If WPML is set to use the translation editor, the error below occurs.
Error: Uncaught TypeError: Cannot call method 'pop' of null
var fg_icl_trans_id = Number($(this).attr('href').match(/post=([\d]+)&/).pop());
I placed a breakpoint on this line and the current value of $(this).attr('href') is: /admin.php?page=wpml-translation-management/menu/translations-queue.php&job_id=49
Obviously the URL is different if 'Use Translation Editor' is selected in WPML. Because of the error a number of interface related issues appear.
Personally, I'd be happy for the button not to be there at all if using the translation editor.
File Gallery: 1.7.7
Your support is much appreciated.
Thank you and kind regards,