Forum Problems Installing LAMS: Re: LAMS 2.0 glitches


 
Search: 

3: Re: LAMS 2.0 glitches
In response to 1 09/03/06 10:02 PM
[ Reply | Forward ]
Sorry to disagree but that's actually not the right entry. The  entry Ernie mentioned is designed to tell Flash when to update its dictionary.

The two entries you need to change are:

<ServerLanguage>en_AU</ServerLanguage>
<ServerPageDirection>LTR</ServerPageDirection>

The server language is as Ernie described, so es_ES or or ar_JO.

The ServerPageDirection is a new entry added just now and will be used to control whether the page is written left to right or right to left. So for most languages it will be set to LTR, but for right to left languages it will be RTL.

So for Arabic, it should be

<ServerLanguage>ar_JO</ServerLanguage>
<ServerPageDirection>RTL</ServerPageDirection>

The point Ernie made about "you can set users to have another default language" is very important.

Once you change the language in the lams.xml you need to restart LAMS (if it was already running). Once LAMS has started, go to your browser and go to http://<servername>:8080/lams and you should see the index page in the new language. You may need to refresh the page twice before the language changes (don't know why twice - our code seems to do the same thing the first and second times!).

The "Latest News & Updates" bits will still be in English as they are updated separately.

When you log in as one of our test users (test1, test2, etc) or as sysadmin it will go back to English. Why? Because those users are set up to use English. But if you login as sysadmin and go to the Groups Management screens, go to Manager Users and then Create New User, you will see it defaults to the your selected server language.

I've actually been working on the left to right / right to left stuff over the weekend, so if you check out from cvs from today, the login page and the noticeboard tool should come out at RTL if Arabic is selected. This change is yet to be tested properly, and won't be working on the translation server till next Friday.

Hope this helps!

Regards,

Fiona

Posted by Fiona Malikoff

4: Re: Re: LAMS 2.0 glitches
In response to 3 09/03/06 11:58 PM
[ Reply | Forward ]
Fiona, you are absolutely right. My mistake!

 <ServerLanguage>es_ES</ServerLanguage> is the one to change

Sorry about that.

Posted by Ernie Ghiglione

Reply to first post on this page
Back to Problems Installing LAMS