How to change date language without changing the entire site language?

Question

I want my my entire site on English, but the dates to be on other language.

I tried to set PHP local like this:

setlocale(LC_ALL, 'he');

Setting my whole website to the another language from admin panel does change the time language as well, but as I said I don’t want this..
Any ideas how to accomplish that ?

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/how-to-change-date-language-without-changing-the-entire-site-language/">

How to change date language without changing the entire site language?</a>
0
, , Daniel Iliaguev 4 months 0 Answers 26 views 0

Leave an answer