Hi,
I have the following problem.
I've written some plugins and then activated them.
Now I've add Italian translation to these plugins.
The default system language remains English.
Now, when I log in as user and try to change my language to Italian, this change has no effect.
The selected language is italian, but I still see english translation.
My Elgg is 1.8.8.
What's the problem?
Thanks in advance.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Michelantonio Trizio@mik3lantoni0
Michelantonio Trizio - 0 likes
You must log in to post replies.I found the problem
function elgg_get_logged_in_user_entity() {
global $SESSION;
if (isset($SESSION)) {
return $SESSION['user'];
}
return NULL;
}
$SESSION is always null.... why?
$_SESSION['user'] is good...
Can anyone explain me the $SESSION variable?
Thank you