I am using frontend post submission/editing forms which allow users to select files from media library.
Adding/editing content in all active languages is made through forms embedded into pages in default language. This works except that media library popup obviously shows files assigned to a default language.
Would you provide some hints on how to switch language of media library popup with code? I guess this has something to do with WP_Query? E.g.:
global $sitepress;
$sitepress->switch_lang( xyz );
$abc = new WP_Query( $args );
$sitepress->switch_lang( zyx );
If my directions are not enough we suggest contacting one of our 3rd party contractors that specialize in custom work with WPML https://wpml.org/contractors/
The topic ‘[Closed] Changing Language of Media Library Popup’ is closed to new replies.