What is the url of your custom mfe that you put in the plugin?
@FatemeKhodayari hi this is my dashboard.py:
from tutormfe.hooks import MFE_APPS
@MFE_APPS.add()
def _add_my_mfe(mfes):
mfes["learner-dashboard"] = {
"repository": "https://github.com/Arthur378/frontend-app-learner-dashboard.git",
"port": 1996,
"version": "", # optional, will default to the Open edX current tag.
}
return mfes
Please specify the branch / tag name that contains your changes in version
.
Excuse me, Iâm a beginner, if you can tell me more precisely, what should I do? I forked from the address you gave me on Git and edited the file you said, did I make a mistake? Can you check the link?how can I specify the branch or tag?
What is the branch name that you pushed your changes to? Looking at your repository, I guess it must be master
. So your MFE plugin must look like this:
from tutormfe.hooks import MFE_APPS
@MFE_APPS.add()
def _add_my_mfe(mfes):
mfes["learner-dashboard"] = {
"repository": "https://github.com/Arthur378/frontend-app-learner-dashboard.git",
"port": 1996,
"version": "master"
}
return mfes
Thank you @FatemeKhodayari , but there are still English phrases in some parts, how can I change them?
Hello @FatemeKhodayari , thank you for your help. Can you explain this to me? I took some ID from the mfe file and translated it into fork, but it doesnât build. What should I do? Also, the pages I sent you are still in English, where can I change them?
Hi all!
Weâve developed the Tutor plugin tutor-contrib-translations, which is intended to make small customized translations in both legacy and MFE pages, without needing to fork any repo. It can be installed with pip install tutor-contrib-translations
. Instructions are in the readme at the repo.
If you try I will appreciate your comments!
Regards,
Andrés
thank you @Andres.Aulasneo
Hi @Andres.Aulasneo ,
Thanks for your contrib. I have been trying to use tutor-contrib-translations
with lastest tutor version that is 18.1.3.
Iâm having problems running the plugins, as this is supposed to be working with tutor 17.0.0.
Do you have and update version? I didnât find it on the github.
I appreciate your help,
hi @ibraim,
Since Redwood, Open edX changed completely the way to handle translations, so the tutor plugin will probably not be upgraded beyond Quince. Please check the Atlas documentation for the new way of managing translations.
Thanks @Andres.Aulasneo