• Resolved jordiceballos

    (@jordiceballos)


    Months always appear in english, it does not take into account the site language.
    Is there any way to show the months according to the site language?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ulfben

    (@ulfben)

    The plugin is calling WP_Locale::get_month, which should return a translated full month name.

    However, the WP-dTree is cached so it will reflect whatever language the site was set to when the cache last updated (eg. at the time of publishing a new post or updating the widget). This means language switching plugins will not have any effect on the dTree unless you disable the cache.

    You can try disabling the cache (it’s a setting on the widget) and see if the month names start matching the site language.

    Let me know if that helps.

    Thread Starter jordiceballos

    (@jordiceballos)

    You are right, it was a cache problem.

    Thanks!
    Jordi

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-dTree Archives – Months always in english’ is closed to new replies.