Localisation not working after host switch
Permalink
Everything worked perfectly on our development Server (Linux, PHP 5.2, mySQL 5), but on the clients host, I cant get it to work - it always stays english.
Does anybody know where I could continue searching?
I already checked with the hoster: locales are set and available and gettext is also available.
My entries in the site.php look like this:
define('LOCALE', 'de_DE');
putenv("LANGUAGE=de_DE");
setlocale(LC_ALL,'de_DE');
Thanks in advance, i'm stuck..
Does anybody know where I could continue searching?
I already checked with the hoster: locales are set and available and gettext is also available.
My entries in the site.php look like this:
define('LOCALE', 'de_DE');
putenv("LANGUAGE=de_DE");
setlocale(LC_ALL,'de_DE');
Thanks in advance, i'm stuck..
If PHP5.3, then you are following URL 'locale_get_all_variants' can be found.
http://www.php.net/manual/en/locale.getallvariants.php...
but you are php5.2. u-m.
http://www.php.net/manual/en/locale.getallvariants.php...
but you are php5.2. u-m.
check
/languages folder
can you find ?
/languages/de_DE/MESSAGES/messgaes.mo
/languages folder
can you find ?
/languages/de_DE/MESSAGES/messgaes.mo
no, its php 5.2 unfortunatly. but the hoster told me he checked with that.
languages/de_DE/LC_MESSAGES/messages.mo is available.
like i said, it worked perfectly well before the switch, thats why i am so confused... thanks for the answers till now!
languages/de_DE/LC_MESSAGES/messages.mo is available.
like i said, it worked perfectly well before the switch, thats why i am so confused... thanks for the answers till now!
LOCALE set in concrete5 core
/concrete/base.php at line 110
you put after that.
check both.
/concrete/base.php at line 110
you put after that.
check both.
LOCALE = de_DE
LANGUAGE = de
:/
I changed the locales in base.php a while ago too, as I thought it might make a difference. But nej, it didn't.
Thanks very much for the help till now, kino!
Anybody else got an idea?
Can it have something to do with the suhosin patch?
LANGUAGE = de
:/
I changed the locales in base.php a while ago too, as I thought it might make a difference. But nej, it didn't.
Thanks very much for the help till now, kino!
Anybody else got an idea?
Can it have something to do with the suhosin patch?
can I somehow make this thread visible to the developers? I need this working, and i really don't know where i could be searching.
Sometimes a new pair of eyes see new things. If you pass me credentials for your server (ftp) & c5 I'll have a look on it (I'm no c5-member though, just developer with several localized c5 installations running...). Send me a pm if you like.
thanks for the offer, but I can't do that as this is not on my develepoment server but on the clients host...
is gettext installed...?
yes, as stated in the starting post..
sorry, im just blind,
can you post a phpinfo()
can you post a phpinfo()
http://www.elektrovolts.com/info.php !
np, thanks for trying and responding :)
np, thanks for trying and responding :)
looks like i have to hardcode-translate it. bad luck..
your server is
safe_mode On
concrete5 is need
safe_mode Off
safe_mode On
concrete5 is need
safe_mode Off
ty, i expected that - i think i wont get that by the hoster..
http://www.php.net/manual/en/ref.gettext.php#52956
yep, your previous post brought me to this too. finally i can mail this hoster and tell him to adapt ;)
server specs on the new server are php5.2, mysql 5 too. nearly everything is the same..