• Resolved reivilob

    (@reivilob)


    Hi after the last updates of some usual plugins, the translation of the plugin is broken on the dashboard
    Woffice theme

    http://www.linkedbyroad.com

    you change the language and all the site change of language excepted “last post” …

    Was working fine until one week

    Olivier

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Martin Stehle

    (@hinjiriyo)

    Is that issue still current?

    Thread Starter reivilob

    (@reivilob)

    Yes sure ?
    Have a look at the site, you can change the language and the last post plugin stay in the same language
    Olivier

    Plugin Contributor Martin Stehle

    (@hinjiriyo)

    Which multilang tool do the site use?

    Thread Starter reivilob

    (@reivilob)

    WPML

    and it ws working fine before last week …

    Olivier

    Plugin Contributor Martin Stehle

    (@hinjiriyo)

    The plugin was not optimized for working with any multilang plugin. So I can not reconstruct what happened to WPML. Maybe WPML changed something? Sorry, I can not help you.

    Thread Starter reivilob

    (@reivilob)

    Hi

    We solved the problem

    We use A Redis cache at the server side

    A desactivate/re-activate of the Redis cache plugin and flush of this cache solve the problem …

    Best regards
    Olivier Bourgeois

    Plugin Contributor Martin Stehle

    (@hinjiriyo)

    Great to hear that! Thank you!

    Thread Starter reivilob

    (@reivilob)

    Hi
    But after a couple of hours the problem is here again …

    This is clearly a problem of this widget with PHP object cache

    Olivier Bourgeois

    Plugin Contributor Martin Stehle

    (@hinjiriyo)

    Yes, the widget uses the WordPress built in cache. That is recommended in the WP documentation. I expect WPML tp wprk with the internal cache. But I assume that a cache is not the reason.

    But it makes sense to check that. Would you please do me a favour an try the effect of the cache? Please comment out lines 247-252 (the if-else block) in the file ‘recent-posts-widget-with-thumbnails.php’ and load the page again. Will the language be changed?

    Thread Starter reivilob

    (@reivilob)

    Yes it seems to work like this

    What will be the long term solution for me ?

    Best regards
    Olivier Bourgeois

    Plugin Contributor Martin Stehle

    (@hinjiriyo)

    I am thinking of a new option to switch off the cache. I will write again about that soon.

    Thread Starter reivilob

    (@reivilob)

    Ok

    thanks and keep me in touch

    Best regards
    Olivier

    Plugin Contributor Martin Stehle

    (@hinjiriyo)

    I removed caching completely. With the new version 5.0 the bug should disappear. Can you confirm that, please?

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

The topic ‘Translation not workink’ is closed to new replies.