Moodle

not translated basic role names in 1.7

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.7
  • Fix Version/s: None
  • Component/s: Language, Roles / Access
  • Labels:
    None
  • Affected Branches:
    MOODLE_17_STABLE

Description

If the language package isn't updated before updating moodle to 1.7, or if the installation is made in english the names of the basic roles are stored in english in the database and are not translated to the users language while using the roles in courses or administration menus.
A translation of the name of the roles is only via editing the database possible.

Issue Links

Activity

Hide
Koen Roggemans added a comment -

I assign this to moodle.com, who does roles

Show
Koen Roggemans added a comment - I assign this to moodle.com, who does roles
Hide
Martin Dougiamas added a comment -

The role names are not new, I think (most of them anyway) and are in old packs.

The default names get saved in the "current" language during the install/upgrade. If you're upgrading in German then the roles should be named in German.

To get names in multiple languages at the same time the only way is to use the multilang format

<span lang="de" class="multilang">XXXXXXX</span><span lang="en" class="multilang">XXXXXXX</span>...

Role names are easy to change on the Roles admin page.

The only improvement I can think of is to add language pack updating as an automatic step during the install/upgrade.

Show
Martin Dougiamas added a comment - The role names are not new, I think (most of them anyway) and are in old packs. The default names get saved in the "current" language during the install/upgrade. If you're upgrading in German then the roles should be named in German. To get names in multiple languages at the same time the only way is to use the multilang format <span lang="de" class="multilang">XXXXXXX</span><span lang="en" class="multilang">XXXXXXX</span>... Role names are easy to change on the Roles admin page. The only improvement I can think of is to add language pack updating as an automatic step during the install/upgrade.
Hide
Robert Brenstein added a comment -

Except that a) the multilang filter does not seem to do anything with role names (just tried in 1.7.1+) and b) it is quite an awkward way to handle that when more languages are involved.

This is similar issue as in MDL-2974

Show
Robert Brenstein added a comment - Except that a) the multilang filter does not seem to do anything with role names (just tried in 1.7.1+) and b) it is quite an awkward way to handle that when more languages are involved. This is similar issue as in MDL-2974

People

Dates

  • Created:
    Updated: