> Two questions:
> 1) Network users still get the previous "ugly" interface, why is that happneing? On my machine i get the new polished interface but network users don't.
I don't have an answer to the first question (why the network users still get the "ugly" interface). It sounds like you have ended up with two copies of LAMS on the one server. Try the following:
* With JBoss stopped, delete contents of {jboss-4.0.2}\server\default\tmp and {jboss-4.0.2}\server\default\work. JBoss must be stopped when you do this. Occasionally the server pages seem to get "stuck" in the JBoss page cache.
* Check the server address that they are using the access LAMS. I assume you are using http://localhost:8080/lams/ and they are using something like http://192.168.1.37:8080/lams/. If you use the address the network users use, do you get the old or new interfaces?
I'll see if I can think of anything else.
> 2) I modified the server language parameter. Now when i refresh the login page twice i get an arabic interface, but no other page appears in arabic. How can i fix that?
Refreshing the login page twice - I yet to work out why you have to do that. It is odd.
The language for the user is stored on in the user's record. So if you log in as test1 through to test3, you will get English. On the version of LAMS running on the translation server, the "arabic" user is set up to use the ar_JO locale, and so on the translation server when you log in as "arabic" you see Arabic. We do all of the language accounts on the translation server that way.
To change the language of a user ( e.g. test1 ):
* Log in as sysadmin (password sysadmin).
* Select the Group Management link (top right hand corner).
* Under the "Playpen" entry, select the Manage Users link.
* This will bring up a list of all the users installed when you build LAMS.
* Find the account you want to change and click Edit.
* A long page with all the user's details will appear. Change the locale to Arabic then click Save.
* Close all the LAMS popup windows and log out of LAMS.
* Login to LAMS as the user (e.g. test1). You should now see most, if not all, pages in Arabic.
These screens will also allow you to set up new users.
The Group Management pages are not translated yet, so if you change the sysadmin's language to Arabic, you will still get English on the Group Management pages. These pages have to be reworked to make them more user friendly so we won't ask people to translate them until after we have reworked the screens.
On Monday (Australian time) I checked in some of the code to do the right to left implementation for Arabic. I think you have checked out since then so you should have this new code. If you want to check that you have the new code, then go to the lams_common project and have a look at the file src/java/org/lamsfoundation/lams/web/filter/LocaleFilter.java. It should have an entry "LocaleFilter.java,v 1.16" just underneath the copyright statement. If you have v1.16 of the LocaleFilter file, then you have the right to left implementation. If you have v1.15 then you will need to check out and rebuild again.
We are using the syntax <html lang="ar-JO" dir="RTL"> to do the right to left implementation for Arabic. I have implemented this for the login page and the main LAMS page, and the noticeboard tool ONLY.
Before I implement it in the other parts of the system, we are hoping that you could review the pages and let us know if it is coming out correctly. In particular, if you look at the noticeboard tool in authoring and in learning and then email me with any problems/criticisms/improvements we could make in the page. The noticeboard tool is the tool that looks like an easel with the words "HTML" on it. I have attached a few screen dumps to show you the screens I am talking about.
We would appreciate any feedback that you could give us. I repeat - only the login page, the main LAMS page and the noticeboard tool has been done in right to left. The rest of the system is still left to right. But I want to make sure I have it right in noticeboard first before we apply it to the rest of the system.
We know about the following problems with the pages:
* The page headings overlap with the LAMS logo on the right hand side of the pages.
* The toolbars in the HTML editor have changed to right to left but the text inside the editor is still left to right.
At the moment, all the default text in the tools is in English. e.g. "Welcome to these activities." We have a plan for how sites can change the default text to whatever they want but we haven't had time to do it yet.
By the way, this right to left support won't appear on the version of LAMS on the translation server until Friday, as we only update that server once a week.
Regards,
Fiona
Posted by Fiona Malikoff