Moodle

default language not working

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.3
  • Component/s: Language
  • Labels:
    None
  • Environment:
    win2k3, xampp, ldap authentication
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

using ldap leaves me with lots of users automatically created, who have never logged in. When I go to edit their user accounts, the language is set to Afrikaans (first on list) rather than english, which is the site default

Issue Links

Activity

Hide
Matt Gibson added a comment -

Also, new users setting their user profiles for the first time are failing to notice and ending up with the wrong language + no idea how to change it.

Show
Matt Gibson added a comment - Also, new users setting their user profiles for the first time are failing to notice and ending up with the wrong language + no idea how to change it.
Hide
Koen Roggemans added a comment -

Seems more like an authentication then a language problem

Show
Koen Roggemans added a comment - Seems more like an authentication then a language problem
Hide
Matt Gibson added a comment -

This is still a problem and the only workaround has been to set the language list to contain only en_utf8. It means that Moodle can only be available in one language, which is not ideal - we have a lot of multi ethnic students. I don't know if it occurs in other authentication mechanisms too.

Show
Matt Gibson added a comment - This is still a problem and the only workaround has been to set the language list to contain only en_utf8. It means that Moodle can only be available in one language, which is not ideal - we have a lot of multi ethnic students. I don't know if it occurs in other authentication mechanisms too.
Hide
Mauno Korpelainen added a comment - - edited

Hi Matt,

try this command (or something similar) in database

UPDATE mdl_user SET lang='en_utf8' WHERE lang='en'

Paul Nijbakker had partly same kind of a problem sometimes in history because default language of moodle was en and not en_utf8 and most old students had language en or some non utf8 language in field lang of table mdl_user. If that old language was not available moodle took the first language in language list...

Show
Mauno Korpelainen added a comment - - edited Hi Matt, try this command (or something similar) in database UPDATE mdl_user SET lang='en_utf8' WHERE lang='en' Paul Nijbakker had partly same kind of a problem sometimes in history because default language of moodle was en and not en_utf8 and most old students had language en or some non utf8 language in field lang of table mdl_user. If that old language was not available moodle took the first language in language list...
Hide
Eloy Lafuente (stronk7) added a comment -

Default in DB has been changed to proper 'en_utf8'. And also, the edit profile forms do automatic conversion from xx to xx_utf8 langs, so remaining records shouldn't be a problem any more.

Resolving as fixed. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Default in DB has been changed to proper 'en_utf8'. And also, the edit profile forms do automatic conversion from xx to xx_utf8 langs, so remaining records shouldn't be a problem any more. Resolving as fixed. Ciao
Hide
Dongsheng Cai added a comment -

Thanks, Eloy.

Show
Dongsheng Cai added a comment - Thanks, Eloy.

Dates

  • Created:
    Updated:
    Resolved: