Translating Month Names in Blog Date Archive Block
Permalink
Yep.. I'm at wits end.
Over the past several days, I have read the various threads on this topic, and still can't figure out how to get my month names to show up in Hebrew on my website.
Page in question is here:http://www.dream-smith.co.il/articles/...
It has the Blog Date Archives at the lower left.
Months are displayed in English. Bahh
If someone can provide me with a complete how-to on this, I will forever be grateful to you! <3
TIA
Sharon
Over the past several days, I have read the various threads on this topic, and still can't figure out how to get my month names to show up in Hebrew on my website.
Page in question is here:http://www.dream-smith.co.il/articles/...
It has the Blog Date Archives at the lower left.
Months are displayed in English. Bahh
If someone can provide me with a complete how-to on this, I will forever be grateful to you! <3
TIA
Sharon
Thank you so very much!
Works like a charm :)
Works like a charm :)
Its very easy, just remove the php variable set for date format and put your own format.
N.B replaced the $dateFormat variable with your own format. For different types of date formatting, you can follow the below link:
http://php.net/manual/en/datetime.formats.date.php...
Rony
N.B replaced the $dateFormat variable with your own format. For different types of date formatting, you can follow the below link:
http://php.net/manual/en/datetime.formats.date.php...
Rony
the output of localized month names is not implemented yet for the "date_archive" block. To change this just create a directory /blocks/date_archive/ . Then save the attached file there and everything should work smoothly.
Best
Patrick
EDIT: Opened pull request for this:https://github.com/concrete5/concrete5/pull/1132...