teltek / PumukitMoodleBundle

1 stars 2 forks source link

Moodle: PuMuKIT Repository English: Series and Mm. Obj. without name #17

Closed shermida closed 8 years ago

shermida commented 8 years ago

Steps:

Result:

If Moodle language is English, all series have the same name “Undefined” and the multimedia objects inside do not have a name, only the extension. However, if the language is Spanish, both Series and Mm. Obj. have name.

Alfro commented 8 years ago

This is because the language 'English' (In Moodle) does not exist for that particular PuMuKIT2 installation (where only Spanish is set as a valid locale). When this happens, PuMuKIT returns the default locale value:

parameters:
    ...
    locale: en      #This value needs to be configured correctly
    ...

The problem here is that the value in 'locale' is not included in the 'valid locales' in this installation:

parameters:
    ...
    pumukit2.locales:
        - es
    ...

This is a configuration issue. The value should be 'es' for this particular installation.

Alfro commented 8 years ago

@shermida Once this is correctly configured, check it out again.

shermida commented 8 years ago

It is solved. I close the issue.