The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Change the language of the date & time? (3 posts)

  1. moryoav
    Posted 7 years ago #


    I'm using a theme called "German Newspaper" that has a time\date at the right hand corner. The blog will be in Spanish and I have translated the entire blog into Spanish. However, I failed to understand how to change the names of the days \ names of the months from English to Spanish. I suspect that this has something to do with WordPress and not with the theme itself. I do not wish to install an all-Spanish WordPress version, I just want to change the time and date...

    Any easy way to do this...?

    Thank you.

  2. Justin01
    Posted 7 years ago #


    You'll find your answer here: http://codex.wordpress.org/Translating_WordPress#Date_and_Time_Locale_Settings

    To make it short, you just have to change the values (names of the day/month) in the file "locale.php" that is located in the "wp-includes" folder.



  3. botakedan
    Posted 7 years ago #

    how about create it under functions.php on theme ? any one has the code ? because if we upgrade the WP than file locale.php will be replaced either.

Topic Closed

This topic has been closed to new replies.

About this Topic