Bluealek
Member
Posted 2 years ago #
My WordPress is localized, and I've also translated the .po/.mo files for the Mystique theme I'm using, but the theme obviously doesn't take the date format set in the general Control panel options when formating the date tabs in category listings. For example:
http://www.stazeibogaze.info/category/srbija/istok/kucaj/
You can see that the gray date tabs still show the English formating for month and day, with the extensions "th", "rd", st". How do I change that? Which .php, which line, and what should exactly be done?
in your theme file I would guess, depending on what template is being used...
category.php, page.php, post.php, index.php, etc
could be hard coded in there, the php the_time function, you can change formatting in there
http://codex.wordpress.org/Formatting_Date_and_Time
you can somehow do this with the .po/.mo files:
for instance from the original english
l, F jS, Y
to the translation german
l, d. F Y
using RVoodoo's link to the codex.
Bluealek
Member
Posted 2 years ago #
Thanks for the hint, alchymith. You were right, I acually missed one of the date formating lines in the theme translation, saying M jS. I've changed it into j M and it now works as it should.