Problems with the Windows version of XAMPP, questions, comments, and anything related.
by achillepieveloce » 17. March 2012 12:38
I have a xampp 1.6.7 on a win server 2003 and even if I set in a php page a different language all dates are in English. How can I solve this?
Thank you
-
achillepieveloce
-
- Posts: 8
- Joined: 01. March 2012 10:52
- Operating System: Winser2003
by Theslcguy » 23. April 2012 21:23
How are you changing the language? are you using setlocale?
eg;
<?php
// Set Lang to France
setlocale(LC_ALL, 'fr_FR');
// echo timeframe
echo strftime("%A %e %B %Y");
?>
-
Theslcguy
-
- Posts: 11
- Joined: 23. April 2012 21:06
- Operating System: Win7
by achillepieveloce » 26. April 2012 18:37
Yes I did. And also with your example the result is: Thursday April 2012
-
achillepieveloce
-
- Posts: 8
- Joined: 01. March 2012 10:52
- Operating System: Winser2003
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 88 guests