Multilang filter with Glossary

Multilang filter with Glossary

بذریعہ Sebastien M. -
جوابات کی تعداد: 2
Hi all:

Can someone confirm the following :
The glossary filter parses in real time any Moodle content that is requested bu the users and the formated text (with embedded autolinks) is cached for later use. At what stage is the glossay_filter function called?

Before I try to work into the glossary's code to make it compatible with the Multilang filter, does someone know of any reason why the multilang filter could not work properly along with the autolink filter?

thanks in advance

Seb
درجہ بندی کا اوسط: -
Sebastien M. کے جواب میں

Re: Multilang filter with Glossary

بذریعہ Eloy Lafuente (stronk7) -
Core developers کی تصویر Documentation writers کی تصویر Moodle HQ کی تصویر Peer reviewers کی تصویر Plugin developers کی تصویر Testers کی تصویر
Hi Sebastien,

why are they incompatible?

Both are called from the filter_text() function (in the order specified in "Administration/Filters" and final results are cached if such option is enabled in the same page.

Where is the problem?

Ciao مسکراہٹ
Eloy Lafuente (stronk7) کے جواب میں

Re: Multilang filter with Glossary

بذریعہ Sebastien M. -
Hi Eloy,

I was refering to the Autolink feature of the glossary which was not compatible with Multilang (i.e. concepts were not parsed for language so autolink was not working properly with my bilingual site).

I found a way around applying the Multilang filter function to the glossaries concepts before parsing the text. The Autolink feature now works everywhere on my site, in both languages.

Thank you for your support.

Seb