4:
Re: Re: Re: locale of users from moodle integration
By: Ernie Ghiglione
|
In response to 3 | 02/11/08 02:23 PM | ||
Hi Glen,
> I have tried both things you suggested, setting moodle user language to Maori, and also editing the userinfo.php file to When a Moodle user gets to a LAMS lesson, the first thing LAMS does is to check whether the user does also exist in LAMS. If it doesn't, then LAMS calls the userinfo.php in Moodle to get info about the user. This userinfo request will return the basic user information so LAMS can generate the user. For the language, LAMS will use the country and language code to set the default language for this particular user. Now if you change the default user language in Moodle *after* it was already created in LAMS, then in LAMS this user will still have the original language that he/she was created with. If you want to change existing users, you might need to run the sql script I mentioned before. Yesterday I tried this creating a user from scratch in the Moodle demo site and it seems to work fine. You can give it a go by creating a user there with country as New Zeland and then in the user's profile change the name to Maori, and you will see than after that, whenever you access LAMS, the LAMS interface will be Maori. BTW, are you using LAMS 2.0.4, right? Thanks, Ernie Posted by Ernie Ghiglione |
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum