Looks to me like this is due to get_string being called before the
config is loaded up, which can happen if, for example, the site fails
one of the sanity checks, and calls get_string to report an error.

If that's the problem, then to fix it without any impact on performance,
we can just reset the current language after loading the config.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/787123

Title:
   static $lang in mahara.php

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Hi,

  please check if the line with  static $lang around line 821 or 925
  prevents that language packs are installable?

  I noticed/read this problem in a few German installations.

  Cheers Heinz

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to