Issue Details (XML | Word | Printable)

Key: MDL-8076
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Martin Dougiamas
Reporter: Ralf Hilgenstock
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

not translated basic role names in 1.7

Created: 04/Jan/07 11:33 PM   Updated: 23/Jan/07 08:06 PM
Component/s: Languages, Roles
Affects Version/s: 1.7
Fix Version/s: None

Issue Links:
Relates
 

Participants: Koen Roggemans, Martin Dougiamas, Ralf Hilgenstock and Robert Brenstein
Security Level: None
Affected Branches: MOODLE_17_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Koen Roggemans added a comment - 10/Jan/07 05:10 AM
I assign this to moodle.com, who does roles

Martin Dougiamas added a comment - 10/Jan/07 10:28 AM
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.


Robert Brenstein added a comment - 23/Jan/07 08:06 PM
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