Displaying Times and Dates in Other Languages with PHP

675 days ago

So far, all the date and time output has been in English. From the point of view of someone for whom English is the primary language, this is not necessarily a bad thing. However, quite a lot of people in the world use other languages and prefer to use websites in those languages. You do not want to display something like “Guten Morgen! Heute is Monday, der 15th March� to users of a German-language news portal any more than English-speaking users would want to see something like “Good Morning! It’s Montag, the 15. of März� on an English-language site.


Click here to read more