Best practice forum (Archived)

הדיון בפורום זה הוסר

 
פרסום זה הוסר
15/01/2014, 07:36
פרסום זה הוסר ואינו זמין יותר.
? ?
Re: Multi-lingual Report Filters
על ידי ? ? בתאריך 16/01/2014, 15:00
 

Hi Joseph,

This works for me in 2.4 and 2.5, what version of Totara are you using?

If I have text or textarea type user profile custom fields, and enter data as the multilang filter expects

http://docs.moodle.org/20/en/Multi-language_content_filter

i.e.

<span lang="en" class="multilang">english text</span><span lang="nl" class="multilang">Dutch text</span>

Then if I add that column and filter to a report in reportbuilder, the value of the field is displayed in whatever the language of the user viewing the report is.

Could you provide more information on how you have set up the profile fields, and the report?

פרסום זה הוסר
17/01/2014, 01:25
פרסום זה הוסר ואינו זמין יותר.
? ?
Re: Multi-lingual Report Filters
על ידי ? ? בתאריך 20/01/2014, 14:05
 

Ah I see Joe, you are using the multilang spans in the name of the customfield, not just the values.

Yes, this is an oversight and the field names are not run through the filters currently. However they should be, so I'll file a bug report and we'll get this fixed for the upcoming releases.

פרסום זה הוסר
23/01/2014, 01:39
פרסום זה הוסר ואינו זמין יותר.
? ?
Re: Multi-lingual Report Filters
על ידי ? ? בתאריך 23/01/2014, 12:57
 

Next releases are 2.5 on the 4th Feb, and 2.4 on the 11th

? ?
Re: Multi-lingual Report Filters
על ידי ? ? בתאריך 2/02/2014, 19:57
 

Hi Joseph,

 

the 2.4 version of this fix was released ahead of schedule today in version 2.4.16.1, which we released early because of a flaw in 2.4.16 where the display of hierarchies was unreadable. There should also be a 2.5 release tomorrow.

פרסום זה הוסר
3/02/2014, 20:12
פרסום זה הוסר ואינו זמין יותר.