yoxview triggers js message in Dutch or extended language
yoxview generates an error message when loading a document page (with some content) in Dutch or in any sub-language.
For the sublanguage, we fixed the problem in CKeditor already by using the same ISO code for the parent and the children languages. For the Dutch problem, however, it boils down to something else.
It's been reported on the forum: http://www.chamilo.org/fr/node/1429#comment-2478 and for now I have suggested the quick-patch of commenting the code that triggers the error message. This is not a long-term solution though.
In my opinion, we need to get a reason for the error (the language file path is correct and can be loaded in a browser; and the Dutch language file is syntactically correct too).
Temporarily commented error messaging code in language file loader (in any case it defaults to English) - refs #3594
Updated by Julio Montoya almost 9 years ago
- Status changed from Assigned to Needs more info
- Assignee changed from Julio Montoya to Yannick Warnier
- % Done changed from 0 to 90
Removing the /* */ from the yoxview.min file and fixing the NL file
you could just replace your bad nl file with this one:
Updated by Yannick Warnier almost 9 years ago
Bas Wijnen wrote:
Your new file still has HelpText and SlideShow on one line. I think the problem is only about the final }, so it might work anyway (I can't test it now; my web host caches the old file, so I need to wait several hours).
Bas, any chance you would have verified this?