• I am using <?php the_time('F j, Y.'); ?> to display the date of a post in the format June 6, 2009. But obviously the name of the month (F) is not displayed in English language all the time. Maybe it is because of my browser language. Anyways, I need it to be in English all the time. In particular, in German we do not have that format Month Day, Year.

Viewing 2 replies - 1 through 2 (of 2 total)
  • add this in your header.php

    <meta http-equiv=”content-language” content=”en-us” />

    Thread Starter jl2424

    (@jl2424)

    Thanks for the advise, but the time still is displayed in German. Even after changing all meta-headers to “en-US” and my Firefox to “en-US” does not affect it at all.
    Could it be that it depends on the WordPress version? The WordPress was automatically installed by our hoster and (as it is a German hoster) they installed the German WordPress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Force date to be in format “June 6, 2009” and English language?’ is closed to new replies.