Thank you. I don't think I will need another locale for now, but I notice "sv_SE" (Swedish) doesn't work either. May I ask what the problem is? Do you need to enable locales one by one for each...
Type: Posts; User: jellby
Thank you. I don't think I will need another locale for now, but I notice "sv_SE" (Swedish) doesn't work either. May I ask what the problem is? Do you need to enable locales one by one for each...
Sure. Your code:
<?php
setlocale(LC_ALL, 'de_DE');
echo strftime("%e %B %Y");
?>
Produces this for me:
Is the problem still unclear? Is it only happening on my account?
The � characters are not a problem, that's just the encoding which I can solve, I just didn't for this sample file, which is plain text, no HTML wrapper.
The problem is that I'm setting the locale...
No solution?
Thanks, but that only fixes it for Italian, and I'd like to use other languages too, not necessarily limited to:
<?php
setlocale(LC_ALL, 'it_IT');
echo strftime("%A, %e %B %Y<br/>");...
Hmm... Must be something in the configuration. I created setlocale/index.php with exactly your code and nothing else, and I get: https://jellby.altervista.org/setlocale/
Have you tried with...
I tried to use setlocale in php, but it doesn't seem to be working according to the documentation (https://www.php.net/manual/en/function.setlocale.php). What I get is that the locale stays put to...
I need to disable "short tags" in PHP, as I'm getting this king of error: https://www.electrictoolbox.com/php-disable-short-tags-apache-htaccess/ Briefly, I want to have inline content in PHP with:
...