Find Multiple Hotspots - Translations Problem
Greetings to all, I noticed one problem with the "Find Multiple Hotspots" exercise. Namely, in the file /uploads/h5p/libraries/H5P.ImageMultipleHotspotQuestion-1.0/image-multiple-hotspot-question.js on line 306,
there are words that are written directly, which is a problem for language Translation plugin.
feedbackText = (this.params.imageMultipleHotspotQuestion.hotspotSettings.hotspotName? hotspot.userSettings.feedbackText + '' + this.score + 'of' + this.maxScore + '' + this.params.imageMultipleHotspotQamestion.hotspotShotSotNet .feedbackText + '' + this.score + 'of' + this.maxScore + '.');
As you can see the word "of" is typed directly and this causes a problem with the language translation plugin. The plugin cannot translate it because the word "of" is written directly in the .js file.
I can edit this word directly in the .js file, but the problem is when a new update arrives, the data is lost and I have to fix this problem over and over again.
Can someone fix this problem, so that in the next update we don't have to make language corrections again directly in the .js file.
Thanks in advance to everyone!
otacke
Wed, 01/27/2021 - 16:17
Permalink
Hi aladinR24!That content
Hi aladinR24!
That content type was not created by the H5P core team, but by Luke Muller. He never added language support and unfortunately does not work on the content type anymore (cmp. https://github.com/lukemuller/h5p-image-multiple-hotspot-question). There are many shortcomings with this content type, but as long as nobody in the H5P community picks up the mantle and maintains that repository, not much will happen, I fear.
Best,
Oliver