GetSimple Support Forum

Full Version: setlocale
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do i use it for swedish? can't get this thing to work....
try
gsconfig.php -> setlocale(LC_ALL, 'sv_SE ', 'swedish');
Yojoe, sorry.

Didnt work for me.
hmmm... what are you trying to do with setlocale? Is it used to change the name of the month/etc. to be in the language you are looking for it to be in? (being American, I am not really sure what setlocale is really used for)
ccagle8 Wrote:hmmm... what are you trying to do with setlocale? Is it used to change the name of the month/etc. to be in the language you are looking for it to be in? (being American, I am not really sure what setlocale is really used for)

Should be used for date, and time purposes, char comparisons - at least those are the main things I remember.
But it would be nice to get some more explanation about OP's problem.

btw. I've posted a problem with date in dev section.
Where is that post yojoe? I can't find it.
I think yojou is refering to this post in the Beta Testing forum: strtotime instead of strftime function.

yojou, let me know if you want it moved to the dev section.
hmm.. I thought I posted this problem in dev section.
If you'd be so kind to move it, would be great.
Even better if you make some conclusions too Wink

Still no additional info from OP :/