Title: WPML question
Last modified: August 30, 2016

---

# WPML question

 *  [lenehanj](https://wordpress.org/support/users/lenehanj/)
 * (@lenehanj)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wpml-question/)
 * Hi David
 * Your plugin is working perfectly, however I have a question regarding a modification
   of your plugin when used with WPML.
 * Since this is not a support issue you can take it into a private discussion if
   you like, but if you want to leave it public in this forum then that is also 
   ok.
 * I would like to ask you if the following is possible:
 * I am using WPML and I have a post that is available in 3 languages, for example:
   English (primary language), French and Spanish.
 * I want to provide a PowerPoint file as a media file link within the post for 
   download. This means that I must upload 3 different PowerPoint files to WordPress,
   one for each language.
 * Currently the way to provide separate media items for each language is very long
   winded. I must select the specific language from the WPML drop down menu in the
   dashboard and then upload the file to the library while this specific language
   is selected. So if my website has posts available in 8 languages, then I must
   upload 8 PowerPoints for each post.
 * Do you think that it would be difficult to improve on this method. This is how
   I see it working:
 * When the WPML plugin is activated some new fields appear under the media upload
   dialog box.
    There could be a checkbox that asks the user if they would like 
   the same media item for all languages or If they would prefer a different media
   item per language.
 * If the second option is selected then the user can attach multiple files, one
   for each each language. The URL of each file is stored within a custom field 
   that gets rewritten on post render depending on the language being displayed.
 * I know that media items do not have the same flexibility as posts and I assume
   that because WPML cannot achieve this on their own website that it is not easy
   to do.
 * I wanted to ask as you clearly have an expert knowledge of the WordPress media
   library. Do you think that this would be possible?
 * Kind regards
 * John
 * [https://wordpress.org/plugins/media-library-assistant/](https://wordpress.org/plugins/media-library-assistant/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/wpml-question/#post-6353596)
 * John,
 * Thank you for your positive feedback and for taking the time to think through
   this interesting idea. It reminded me of this earlier support topic:
 * [Media translation question](https://wordpress.org/support/topic/media-translation-question)
 * The earlier topic outlines an approach to managing the link between Media Library
   items and the posts/pages in which they appear. I believe the solution outlined
   there would work for your application as well; is that right?
 * Your idea covers the process of adding the items to the Media Library and assigning
   a language to them; this is a different part of the problem. WPML has a Media
   Translation Module that “**_allows using the same media files in content in different
   languages._**” That is the opposite of what you need, right?
 * You wrote “**_If the second option is selected then the user can attach multiple
   files, one for each language._**” You do not say how the language for each file
   would be specified. Would it be part of the file name, as proposed in the earlier
   topic?
 * If you had a file naming convention that specified the language it would be straightforward
   to write some code to assign the appropriate language as each file is uploaded.
   You could add a custom field to the “Bulk Edit on Upload” form and use it along
   the lines of your “checkbox” to activate the assignment process. All of this 
   could be done in a small custom plugin or code added to your theme.
 * You do not say which “**_media upload dialog box_** you have in mind. The Bulk
   Edit on Upload is only available for the Media/Add Media/Upload New Media screen.
   Would that be acceptable?
 * I am marking this topic “Not a support question”, but I welcome any additional
   information, suggestions or thoughts you have; post them here. Thanks for your
   interest in the plugin.

Viewing 1 replies (of 1 total)

The topic ‘WPML question’ is closed to new replies.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/wpml-question/#post-6353596)
 * Status: not a support question