Page 1 of 1

problem using setlocale() for greek

Posted: Wed Feb 18, 2004 8:04 am
by vangelis
I am trying to modify a web page (in particular the days of the week) depending on the language set by the user, using the setlocale() function. It works fine for a number of languages like spanish, postuguese, norwegian, italian, german, french etc... BUT it does not work for greek. I am almost certain that the code used in the setlocale function is gr_GR for greek (I am from Greece :) ).

Could u please help. Am I using the wrong locale code or is it something else??

chears

Posted: Wed Feb 18, 2004 1:50 pm
by ol4pr0

Code: Select all

gr_GR is correctly
Besides that i dont have much anwers

http://php.oregonstate.edu/manual/sv/fu ... locale.php

That page might tho

Posted: Wed Feb 18, 2004 3:49 pm
by basdog22
Hi patrioti :P :P :P :P

I think the locale is el_GR

Posted: Thu Feb 19, 2004 5:49 am
by vangelis
euxaristw basdog...the locale code is el_GR :lol: