• Hello.

    I have a very weird issue. Each time I enable Slimstat it messes up the name of the month. Since my site is in Greek, the correct way to display the date is:

    9 Ιουλίου 2016

    Instead it displays:

    9 Ιούλιος 2016

    Do you know what this may be and if there is a solution for it?
    Thanks!

    https://ww.wp.xz.cn/plugins/wp-slimstat/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Jason Crouse

    (@coolmann)

    Hi,

    If you would like to contribute a greek localization, that might solve the problem. Please contact us if you want to learn how to do that.

    Thread Starter catmaniax

    (@catmaniax)

    Email sent!

    Thread Starter catmaniax

    (@catmaniax)

    Another quick question.

    Is there an option to clear everything when I open my website so I can have a clear image of my visitors/traffic, because my site is still under construction, so all the logs/hits until now are mainly by me.

    Thank you.

    Plugin Contributor Jason Crouse

    (@coolmann)

    Yes, go to Settings > Maintenance and use the corresponding buttons to delete the data from your database.

    Thread Starter catmaniax

    (@catmaniax)

    Hey, I’m back with this issue.

    I figured it out.
    It occurs ONLY when the tracker is in “Server” mode.
    “Client” mode displays the month correctly.

    However since I wish to use the Server mode how can this be fixed?

    Please let me know.
    Thanks!

    Plugin Contributor Jason Crouse

    (@coolmann)

    That is quite strange, as Slimstat doesn’t currently have a Greek localization available. However, in Server mode, Slimstat calls a function that removes all the filters on date_i18n:

    remove_all_filters( 'date_i18n' );

    and then restores the filters after the page view has been recorded. It sounds like you have another plugin attaching a filter to the date_i18n function to change that output in Greek. If that’s the case, I’m afraid there is no workaround, other than changing the other plugin to attach its filter at a later time in the execution of that call, as we need to remove all filters to make sure we get the ACTUAL date_i18n as recorded by WordPress.

    Hope this helps,
    Jason

    Thread Starter catmaniax

    (@catmaniax)

    Thanks for the reply.

    I tested this with no other plugins, just slimstat.
    I also enabled various different themes as well as WordPress’ default ones to rule out theme’s conflicts. So I’m pretty certain this happens from Slimstat alone when I put it on “Server” mode.

    Plugin Contributor Jason Crouse

    (@coolmann)

    We’ll try to see if we can install the Greek localization to replicate this issue on our end. I’ll keep you posted.

    Jason

    Plugin Contributor Jason Crouse

    (@coolmann)

    Found the problem. Solution added to the next release! Thank you for being persistent!

    Thread Starter catmaniax

    (@catmaniax)

    Wow, that’s great! Was it simple?

    Plugin Contributor Jason Crouse

    (@coolmann)

    It turns out WordPress had changed the way some information was structured internally, which was causing this side effect.

    Jason

    Thread Starter catmaniax

    (@catmaniax)

    Ok. It’s great to hear that it will get resolved.

    Plugin Contributor Jason Crouse

    (@coolmann)

    Of course 🙂

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

The topic ‘Slimstat Month name issue’ is closed to new replies.