Modify Date in Prose

This topic is: not resolved


This topic contains 3 replies, has 3 voices, and was last updated by  Manuel 2 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #38515



    I am using Prose theme, but know I Have an issue,  i want to  change date format to spanish, I already install genesis translate pluggin, but it doesn´t have the date update, I want to modify the locale.php inside the function.php file is that possible?





    You might want to ask Wendy as she knows a lot about Prose



    I don’t know of a way to change the locale.php file from within Genesis –> Custom Code –> Custom Functions, but someone more proficient in PHP may be able to do that.

    There is a plugin called La Fecha which says it translates just the date.

    Or, you can directly modify the locale.php file that’s inside wp-includes by changing the month names (and month abbreviations, day names, and day initials if necessary). Keep a backup copy of the original unedited file, and keep a copy of your modifications so you can easily update them when a new version of WordPress is released.

    Whether you use the plugin or modify the php file, you’ll need to set a custom date format in Settings –> General –> Date Format, something like:

    j \d\e F \d\e Y

    which will output a date like this:

    6 de mayo de 2013


    l j \d\e F \d\e Y

    which will output a date like this:

    Lunes 6 de mayo de 2013


    l \e\l j \d\e F \d\e Y

    which will output a date like this:

    Lunes el 6 de mayo de 2013

    I hope this helps!

    I love WordPress, Genesis, and the Prose child theme (my complete guide to using Prose is here: Say hi on Twitter: @wendycholbi



    Thank You wendycholbi and  braddalton, it works, i modify directly the locale.php.



Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.