[resolved] Categories widget always in english (6 posts)

  1. RavanH
    Posted 3 years ago #

    Hi Chouby,

    Using a fresh copy of the development version, I just noticed that the Categories widget is only showing only English categories on all languages. And English is not even the default language ;)

    The Pages widgets does switch according to the chosen language...

    Let me know if you need more info or a link!


  2. Chouby
    Plugin Author

    Posted 3 years ago #

    I don't reproduce this strange behavior. Have you other plugins activated? Yes, please post the link. We never know. It may help.

  3. RavanH
    Posted 3 years ago #

    You can see it on http://status301.net/ http://status301.net/nl/ and http://status301.net/fr/ where there is a Categories widget in the footer on the left. You can see the title change to match the language but not the categories themselves. For example the category 'Other' which should respectively be 'Overig' and 'Autre'... The same thing I see happening with a Latest Posts widget on another site...

    There are many other plugins activated among which Jetpack and WP Super Cache. I'll try to find a off-hour spot to test without other plugins but since it is a Multisite installation with some plugins running network-wide, I don't have much room to maneuver.

    Will keep you informed of any findings :)

  4. Chouby
    Plugin Author

    Posted 3 years ago #

    It's really strange... Recent posts always in English, Recent comments always in French, Categories always in Dutch! the loops seems correct. Is there some customization in the theme?

  5. RavanH
    Posted 3 years ago #

    Is there some customization in the theme?

    No, it's a standard Twenty Eleven.

    Recent comments always in French

    Funny, had not even noticed that brefore ;)

    Categories always in Dutch!

    What?? You are right... Now it's always in Dutch but I'm sure it was always in English before! This is getting really weird. Feels like some caching thing.

  6. RavanH
    Posted 3 years ago #

    ... And yes, there it is... a caching thing...

    After disabling http://wordpress.org/extend/plugins/apc/ running in /wp-content/ (it's not like a regular plugin) the issue is gone.

    Bummer, two of my favourite plugins cannot work together :(

    Could it be that because APC ignores language information, the latest query stored in the Object Cache is mistakenly fed back to Polylang as the language-correct one?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic