Support » Fixing WordPress » Time translation issue

  • Resolved Arnoud


    I am using WordPress 2.7 & qTranslate 2.
    The translation matrix works fine.
    It translates my blogs, titles, pages, etc.
    Also it translates the dates in the category list on the right hand side of my website.

    What it doesn’t do is:

    Translating the date on which an entry was posted.
    For example: This entry was posted on 13 December 2008 at 23:30

    The code I use is:

            strftime('%A %e %B %Y om %R uur.',
                    the_date('Y/m/d H:i', '', '', FALSE)
            strftime('%A, %e %B %Y at %I:%M %P',
                    the_date('Y/m/d H:i', '', '', FALSE)

    When viewing the site in Dutch the date is returned as:
    Friday 12 December 2008 om 00:00 uur

    Note the incorrect language and time display.
    It should read:
    Vrijdag 12 december 2008 om 23:30 uur.

    Does anyone know what’s wrong with the above code?
    I’ve been at this for days now, and it’s driving me crazy!

    I’ve also tried the tips in this article:
    but they didn’t resolve the issue.

    Also a post at the qTranslate forum doesn’t help me any further (very few responses)

    I hope that someone here can help me out!

    Again, it’s only just the “posted on” dates, that aren’t translated.

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Time translation issue’ is closed to new replies.