Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with Multi-language Content (v2) plugin #97

Open
TineStalmans opened this issue Sep 24, 2020 · 6 comments
Open

Compatibility with Multi-language Content (v2) plugin #97

TineStalmans opened this issue Sep 24, 2020 · 6 comments

Comments

@TineStalmans
Copy link

Great plugin, it really has helped us manage and automate email notifications for course events from Moodle itself. We're facing one little detail though: our courses are often bilingual, which is why we use the Multi-language Content (v2) plugin. However, in the 'Course' field of the notification messages, the course name appears with the language tags, like this:

{mlang other}Strengthening Project Planning and Implementation{mlang}{mlang fr,fr_ca}Renforcer la planification et la mise en œuvre de projets{mlang}

Is there any way we can avoid this, e.g. by customizing the fields that appear in the email notification? Or could you work on compatibility with the multi-lang filter plugin for future releases?

Thanks in advance!

@isuru89
Copy link
Owner

isuru89 commented Dec 24, 2020

@TineStalmans
This is very specific to the other plugin called 'Multi-language Content'. The thing here is that there is no way to globally support this because there are many users who don't have this plugin installed in their Moodle deployment.

You may have to specifically customize it for your deployment by forking this codebase.

@mwehr
Copy link

mwehr commented Jan 20, 2021

Added multilang2 filter support see -> #102

@mctliang
Copy link

mctliang commented May 5, 2021

@TineStalmans Thanks for the post. We are facing the same issue and wondering if you find any solution from your project last year! Thanks in advance!

@TineStalmans
Copy link
Author

@mctliang I'm afraid I can't help you. We haven't been able to solve the issue. Rather, haven't tried to dive into the code and customize it...

@TineStalmans
Copy link
Author

@TineStalmans
This is very specific to the other plugin called 'Multi-language Content'. The thing here is that there is no way to globally support this because there are many users who don't have this plugin installed in their Moodle deployment.

You may have to specifically customize it for your deployment by forking this codebase.

@isuru89 Pretty sure that programmatically speaking, there is a way, but probably not a priority...

@isuru89
Copy link
Owner

isuru89 commented May 11, 2021

@TineStalmans There is a PR that has been raised by https://github.com/isuru89/moodle-local_reminders/pull/102/files
Since this is a specific third-party support implementation, I need to review and make sure that to support additional third-party implementations based on this. So might require a little bit of refactoring.
Allow me little time I could release this with a patch version sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants