|Can not change the language!
|Page 1 of 1|
|Author:||imitrik [ Fri Mar 07, 2008 10:31 am ]|
|Post subject:||Can not change the language!|
Hi to everyone!
I am troubling with something, I can not change the language of the customer interface, meaning, i press, for example, greek, italian, or what so ever, but nothing happens! The url just changes to /PP_intro.php?language=italian(greek, etc.), but the interface language stays english! I have installed gettext. Have ubuntu on my server.
|Author:||cristianvirtual [ Wed Mar 19, 2008 1:44 pm ]|
|Post subject:||me too|
I have the same problem, also in admin interface.
how can i solve it?
ubuntu server 7.10
|Author:||stavros [ Wed Mar 19, 2008 2:21 pm ]|
I can't think of anything that might cause this other than PHP not having working gettext support. Is 'gettext' in the list generated by 'php -m'?
|Author:||cristianvirtual [ Wed Mar 19, 2008 2:40 pm ]|
thanks stavros i chcked...
#php -m |grep get
my php configuration:
# php -v
PHP 5.2.3-1ubuntu6.3 (cli) (built: Jan 10 2008 09:38:37)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Server version: Apache/2.2.4 (Ubuntu)
Server built: Feb 4 2008 20:30:42
and my locales
|Author:||asm2me [ Tue Mar 25, 2008 11:25 pm ]|
I have the same problem, I finally found the variable $language in the file defines.php can't get the assigned value from the url PP_intro.php?language=xxxxxx
I couldn't fix the reason, since I don't know the sequence of the program, and I'm a newbie in PHP
Added after 53 minutes:
Finally found the problem in activating the language
the problem is in the lib/defines.php
the variable $language is not included in the getpost_ifset statement, so it is not aquired from the url
to fix just add 'language' to the statement like that:
getpost_ifset(array('form_action', 'atmenu', 'action', 'stitle', 'sub_action', 'IDmanager', 'current_page', 'order', 'sens', 'mydisplaylimit', 'filterprefix', 'language','cssname', 'popup_select'));
Please tell me if it is useful
|Author:||willianmazzardo [ Sun Jun 01, 2008 11:52 pm ]|
did'nt worked for me ...
just to let you know !!
|Page 1 of 1||All times are UTC|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group