• Resolved papijo

    (@papijo)


    Hi there!
    Settings: WordPress 5.5. FooGallery (free version) Version 1.9.31. Polylang Version 2.8.1.
    This issue has already been mentioned in a now closed topic : here so I am re-opening it.
    I have a bilingual Garden site (personal, non-commercial) where I use both Polylang and FooGallery for displaying my garden photos with either the French or English captions/descriptions. See examples here: Photos with English captions and here : Photos with French captions.
    Unfortunately the “Translation” feature available when editing FooGallery galleries does not work at all as expected. I cannot use it and I have to create 2 different galleries each time, one for the French captions and one for the English captions.

    This is how I would expect the “translation” feature to work (in admin):
    * Create a FooGallery gallery in the default language (L1), inserting images from the Media Library with their original L1 captions etc.
    * When done and saved, in the “Languages” box on the right, click on the “Add a translation” link for L2, enter a title and… I would expect that L2 gallery to be automatically filled with the items from the previously created L1 gallery, with no other action to take. But, of course, those items/images should display their caption/description etc. in the L2 language.
    Plus… it should be impossible to add or remove items/images from a translated L2 gallery, and whenever the L1 gallery is edited, any added or removed items/images should be automatically reflected in the L2 library.
    I have no idea if what I wish can easily be implemented or not.
    Looking forward,
    Joseph aka “papi Jo”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter papijo

    (@papijo)

    Upon further research I have managed to get FooGallery to work together with Polylang the way I want it to. Here’s my method…
    0.- Settings
    Upon install, FooGallery issues this warning:
    FooGallery + Polylang Alert : We noticed that you have Polylang installed and you have chosen to activate languages and translations for media.
    This may cause empty galleries on translated pages! To disable this feature, please visit Settings -> Languages -> Settings Tab

    You must ignore this message! Obviously, if I have images whose caption/description have not been translated from my default language L1 to another language L2, I do not want those images to appear in an L2 page with a gallery.
    Languages -> Settings Tab
    Media: Activate languages and translations for media MUST remain activated
    Custom post types and Taxonomies: Custom post types: Galleries MUST NOT be checked!
    ——
    Given that we have a number of images whose caption/description are available in both the default language L1 and have been translated into the L2 language…
    1.- In the topmost menu, switch from Show all languages to your site’s default language, L1.
    2.- In the left menu, go to FooGallery->Add New Gallery. Enter a title, e.g. Test Gallery.
    3.- Click the Add from Media Library button. Because we are in L1 language display mode, only those images available in L1 will be displayed. Select the ones you want for this Test gallery. Click Publish gallery
    4.- Now create a new post (or page), name it Test post L1. In that post, insert Test Gallery which is available from the menu bar list. Save.
    5.- Create a translation of that post, name it Test post L2. In that post, insert Test Gallery 01 which is available from the menu bar list. Save.
    6.- Visit your site and switch from L1 to L2, and check that the images from Test Gallery on the Test post L1 page have their caption/description in the L1 language and on the Test post L2 page have their caption/description in the L2 language.
    Works for me.

    Thread Starter papijo

    (@papijo)

    Forgot a step between step 3 and step 4: In the topmost menu, switch from your site’s default language, L1 to “Show all languages”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Polylang & FooGallery (in)compatibility’ is closed to new replies.