Support » Plugin: Polylang » [Plugin: Polylang] How to copy galleries?

  • In your excellent plugin I don’t see no simple possibility to take over the images of the original post. To upload them again and again is ugly. It would be sufficient to have a copy of the image attachments for creating the description translation. Is that on your roadmap and if, when will you release it? Otherwise I have to write a copy plugin for it. This would’nt be ugly but clumsy and boring.
    didr

    http://wordpress.org/extend/plugins/polylang/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chouby

    (@chouby)

    It it not on my current roadmap, but I do believe it is a good idea ! For sure, it will not be in the v0.4 currently under preparation but I will keep it in mind. Thank you for the suggestion.

    Hi! Does something change with that problem?

    Hello everybody.
    I think to have found a simple solution for this problem using wordpress shortcode.

    1- create your gallery post/page in the default Polylang language and insert into it the media you want. Create the gallery and obtain the gallery shortcode (typically like this: [gallery]).

    2- save your post/page and then go to the language box (on the top-right) and click on “add new” just right the other language you want to copy your post. This will open a new post/page creating form. Now you can see on language box the original ID of the previous post you have inserted your gallery; copy it.

    3- put inside the post (in HTML view) the following shortcode: [gallery id="DEFAULT_POST_ID"], where DEFAULT_POST_ID is the ID you copied from the original post wherein the gallery is.

    4- save and repeat for the other languages you need the post/page copied in.

    This is the WordPress common method for copying a gallery from a post to another. I just used it inside our preferred language plugin.

    Thank you Chouby for this useful plugin!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Polylang] How to copy galleries?’ is closed to new replies.