• Resolved yaddler

    (@yaddler)


    Hi,
    I’m working on https://www.peca-ni.org, I have it set up in English and Polish, using Polylang plugin. As I understand it, there are effectively there are two sets of posts and pages. Selecting the language widget swaps between each set of content (as you probably already know).

    My English homepage has the featured post slider, which displays 5 posts from the category ‘Featured‘.
    When I switch to the Polish version, the 5 equivelent Polish translated posts are in a category called ‘cecha‘, so they don’t display in the slider.

    What I want is on the English version, to have a slider with posts from ‘Featured’ category, and on the Polish version to have a slider from the ‘cecha’ category.

    Obviously I don’t want both versions of the posts to show up in either the Polish or the English version.

    I’m using the child theme, and I’ve looked at .po and .mo files but I don’t know what to do with them, or if they’re relevant for this.

    Thank you for any assistance.

    A note about the quality of translation.
    For any Polish readers, I apologise for the translation! Most of it has been done through Google-translate prior to receiving proper translations from Polish contributors!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter yaddler

    (@yaddler)

    hold that thought, I might have this solved, I found a similar thread. Will update here shortly.

    crickets

    no, not getting anywhere.

    If you have any help, I’m all ears.

    Thread Starter yaddler

    (@yaddler)

    Whelp, it’s official. I’m an idiot.

    The ‘featured’ (‘cecha’) posts in polish weren’t showing up because I hadn’t translated them. I’d been distracted and hadn’t realised I did not finish creating polish versions of my English posts.

    My featured posts in Polish did not show up in the polish featured posts because they did not yet exist.

    Still, it’s educational to read all about polylang, option tree, language .po and .mo files, POedit.

    But gosh does it ever feel like a waste of time?

    Hi yaddler. Yes, it’s sometimes the obvious that we miss, and spend hours trying to find a fix for what we think is a completely different problem. Appreciate you sharing the solution or we might still be looking…;-)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Dual Language – how can I make Featured Slider for each language’ is closed to new replies.