How can I modify month names in “Archives” in my blog? I would like to translate english month names into my mother tongue. I’m using the english version of wordpress 3.1.3
Leave a Reply
You must be logged in to post a comment.
How can I modify month names in “Archives” in my blog? I would like to translate english month names into my mother tongue. I’m using the english version of wordpress 3.1.3
You must be logged in to post a comment.
if the translation is only for the archive widget, a filter function might work (to be added to functions.php of the theme):
Depends on your theme, but some language strings may be coded in the archives.php file. Check that and also see http://codex.wordpress.org/I18n_for_WordPress_Developers
I believe the WordPress Multilingual plugin will do this, though I have not used it.
I made a function in ‘functions.php’:
Assigning every numeric value of the months to the translation I would like to show.
Then on my ‘single.php’ I just gave it some format:
It’s worked for me.
Saludos!