• Resolved jstead

    (@jstead)


    I have WPML installed on my site as it works for the theme and LMS I am using, but it doesn’t detect any of the H5P content.

    Is there any recommendations on best practice to translate H5P content besides just duplicating the item and naming it itemname_FR for example?

    We use a CAT tool so would highly benefit from being able to export the H5P content in any format use this to translate it, then re-import either as true multi-lingual content or as a duplicate H5P item with slightly different name referring to the new language version.

    Thanks
    Jason

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Currently, the only way to do this is to create duplicate content.
    Though the majority of the users keep all the content in one language, improved multilingual support is something that has been requested more than once.

    Thread Starter jstead

    (@jstead)

    Looking into alternate methods of speeding up the translating process. Are there any ways of exporting H5P content, then re-importing?

    Planning to try apply translations to the exported data and re-import.

    Also looking at wp-export plugin to see if it will export/import H5P content.

    Plugin Author icc0rz

    (@icc0rz)

    Are you doing some sort of automated translation? I.e. you don’t want to touch each content?

    You could have targeted the content.json file inside the wp-content/uploads/h5p/export/*.h5p files, but you’ll still face the issue of having to upload each file after changing it.

    One other way of doing it is to create a small script that loops through the content in the database – but it will probably require a couple of days work to get it just right.

    Thread Starter jstead

    (@jstead)

    Hi finally looking to implement this.
    Yes we are looking to import all of them into a Computer assisted translation tool (Trados). Translate through our translation department, then import back in.

    With the re-import. Besides changing the name of the overall zip (i notice it includes the ID number after a hypen), within the content.json (i assume this is all i need to edit) do I need to create unique subContentIds? I notice they vary item to item.

    Regards,
    Jason

    Plugin Author icc0rz

    (@icc0rz)

    This depends if you want them tracked as different tasks or the same task when using an LRS. I think the default is to just leave them as is (same task).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Translate H5P Content’ is closed to new replies.