Title: [Plugin: Polylang] Problem with galleries
Last modified: August 20, 2016

---

# [Plugin: Polylang] Problem with galleries

 *  [tafinho](https://wordpress.org/support/users/tafinho/)
 * (@tafinho)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-polylang-problem-with-galleries/)
 * Hi,
 * I’m using WP 3.4 and polylang 0.8.7 and i’ve run into a problem related to standart
   WP galleries.
 * When setting a post to gallery, all translations of this post are also set as
   gallery, which is ok, but this setting is only applied on the post post.
 * As an example the following 2 posts are translations of the first post:
    Original
   EN : [http://tiagoferreira.nome.pt/photo/?p=543](http://tiagoferreira.nome.pt/photo/?p=543)
   Translated PT: [http://tiagoferreira.nome.pt/photo/?p=547](http://tiagoferreira.nome.pt/photo/?p=547)
 * But only the first is shown as a gallery.
 * Has anyone else seen this problem?
    If so, is it fixed in 0.8.10 ?
 * [http://wordpress.org/extend/plugins/polylang/](http://wordpress.org/extend/plugins/polylang/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-polylang-problem-with-galleries/#post-2972756)
 * Polylang should do nothing special for galleries. I am not familiar with galleries
   and I don’t see what’s wrong in your example.
 *  Thread Starter [tafinho](https://wordpress.org/support/users/tafinho/)
 * (@tafinho)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-polylang-problem-with-galleries/#post-2972761)
 * Sorry for the poor examples.
 * These demonstrate the problem:
    1. Original, presented as a gallery : [http://tiagoferreira.nome.pt/photo/?m=20120813&lang=en](http://tiagoferreira.nome.pt/photo/?m=20120813&lang=en)
   2. Translated, set as gallery but not presented as gallery: [http://tiagoferreira.nome.pt/photo/?m=20120813&lang=pt](http://tiagoferreira.nome.pt/photo/?m=20120813&lang=pt)
 * HI believe this is related with polylang, as it is poly lang which sets gallery
   for both posts all the time.
 *  Plugin Author [Chouby](https://wordpress.org/support/users/chouby/)
 * (@chouby)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-polylang-problem-with-galleries/#post-2972802)
 * I believe I understand your problem. You attached media to the first post and
   then try to attach the same to the second post. But as far as I understood, attachments
   can be attached to only one post. And thus, since the gallery shortcode looks
   for attachments, it finds nothing for the second post.
    To make it work you would
   have to create new attachments (but it means duplicate media files 🙁 )
 * v0.9 now includes media support and you can create “translations” of attachments
   without duplicating media files. Maybe you should give it a try (although I do
   not recommend it on a production site for now).
    [http://wordpress.org/support/topic/development-of-polylang-v09](http://wordpress.org/support/topic/development-of-polylang-v09)
 * However, Polylang should not automatically create a gallery in the translation.
   it does this for the thumbnail, but not for the gallery.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Polylang] Problem with galleries’ is closed to new replies.

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

## Tags

 * [gallery problem](https://wordpress.org/support/topic-tag/gallery-problem/)

 * 3 replies
 * 2 participants
 * Last reply from: [Chouby](https://wordpress.org/support/users/chouby/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-polylang-problem-with-galleries/#post-2972802)
 * Status: not resolved