WordPress.org

Forums

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

  1. moryoav
    Member
    Posted 6 years ago #

    Hello,

    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.
    Yoav.

  2. Justin01
    Member
    Posted 6 years ago #

    Hi,

    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.

    Cheers,

    Justin

  3. botakedan
    Member
    Posted 5 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