Forums | Mahara Community

Support /
Wrong language on login


anonymous profile picture
Account deleted
Posts: 10

27 June 2011, 6:17

I'm having an issue with my Mahara 1.4.0 installation. The default language for the site as been set as Portuguese, but upon the login of any user the page shows up as english, after this if the user refresh or click on any link it will show up correctley in portuguese, but on entry it always shows in english. I also downloaded other language packs, and the same situation is ocurring with other languages. I've tested this both in my live server and on a VM server. Does anyone has any solution for this?

anonymous profile picture
Account deleted
Posts: 17

29 June 2011, 3:02

Hi all,

!sup,I got same problem with French language here. After a connection, the default language set to French doen't appear and the whole site is in English instead. The user needs to reload the page to fix this problem. Both on a local installation and an online test plateform.

Thanks for your help.

Regards.

anonymous profile picture
Account deleted
Posts: 10

29 June 2011, 5:39

After some time reading the forums and looking at the code, I've managed to solve it, just coment line 925 in /lib/mahara.php, it contains "static $lang". At least in my case it solved this issue

anonymous profile picture
Account deleted
Posts: 17

29 June 2011, 6:42

It worked, thx !

29 June 2011, 6:40

I will say that we all have the same problem. I think it's due to the cache. Flushing the cache with F5 or relaoading the page usually makes the language change.

If you think this is a bug, don't hesitate to put a bug report into the bug tracker (mahara.org/tracker)


Cheers,

-dajan

anonymous profile picture
Account deleted
Posts: 808

29 June 2011, 19:59

Sorry about this. Heinz filed a bug about this a while ago, and I think it may be the same problem. Hopefully it's fixed on master already, but it's more widespread than I thought, so I think we should try to get the fixes into 1.4.1.

https://bugs.launchpad.net/mahara/+bug/787123

https://gitorious.org/mahara/mahara/commit/9ca6bb553673486287bba8000e18c7027b8ad13f

https://bugs.launchpad.net/mahara/+bug/800512

https://gitorious.org/mahara/mahara/commit/966e804bb39e2151f00dbb4a7881994139fc7288

anonymous profile picture
Account deleted
Posts: 17

01 July 2011, 2:50

Thanks.

7 results