From: Phil D. <ph...@lo...> - 2013-12-07 20:06:17
|
Sorry Rafael ... UserSettings.php line 96! Actually I am no longer able to change the language settings and see the new language on my install - without first logging out and then back in again now? We need to go back through the changes made here to see what caused it to break - it is a very sensitive area. Previously it was possible to change the language and it instantly displayed in the newly selected language. Having this line: include ('includes/LanguageSetup.php'); makes no difference in my installation - (Mint Olivia) Phil Phil, this is the line that Rafael is referring to. include ('includes/LanguageSetup.php'); // After last changes in LanguageSetup.php, is it required to update? I think its there to update the language when the user changes rather than waiting for them to log out and back in. Tim On 7 December 2013 19:31, Phil Daintree <ph...@lo...> wrote: > Line 96 > > putenv('LANGUAGE=' . $_SESSION['Language']); > > I think this was to do with different OS windows and linux use different > variable names. There was fair bit of trial and error when we first set > this up - would be reluctant to change without someone with a selection of > OS's trying and proving it was ok to remove it. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > On 08/12/13 06:45, Rafael Chacón wrote: > > Hi, > > After the latest changes in LanguageSetup.php, I think the line 96 is no > longer necessary in UserSettings.php. In my system works fine without this > line. > > Comments? > > Regards, Rafael. > |