I want to add Norwegian date. So that I can have two languages on my website.
According to PHP manual, it says that
The return value of setlocale() depends on the system that PHP is running. It returns exactly what the system setlocale function returns.
How can I add Norwegian ?
Thanks in advance.
I want to use setlocale(), and strftime() as followings. (for Norwegian and English)
setlocale(LC_TIME, "C");
echo strftime("%A");
setlocale(LC_TIME, "fi_FI");
echo strftime(" in Finnish is %A,");
setlocale(LC_TIME, "fr_FR");
echo strftime(" in French %A and");
setlocale(LC_TIME, "de_DE");
echo strftime(" in German %A.\n");