Forum Discussion
Multiple Languages - Menu options
I can get you part of the way. You will pretty much have to create your own bundle or use a SCORM wrapper. I would use the scorm wrapper. (https://github.com/pipwerks/scorm-api-wrapper) I've attached the HTML that will build the language selector for you. Language selector HTML(attached) Create a file with this code and call it Index.html. The main.js file attached will be called by the manifest file which launches the index.html file, the language selector. it will look in the language folder to find the language with the course ID for that language.
For the languages, you will have to publish each course in the desired language Do not zip it. If you publish a zip file copy all of the content and create a folder name it the language name Paste the code from your published course. Do this for each language then put each language folder into a folder called Languages. The languages folder goes in the root folder NOTE: nothing in the languages folder is zipped.
the main.js goes in the resources/js folder
That's all I have. This should get you on your way. I have used this method several times. SCORM Wrappers are much easier to use than published SCORM.
Dave, It would be great if you can also provide the wrapper.js and style.css mention in language selection page.
- AndyNock_QI2 years agoCommunity Member
Hi Krishna, just checking if you managed to achieve what you're looking for here?