Picture of Matt Leathes
Developers: please add “translatable” to your plug-ins
by Matt Leathes - Monday, 11 July 2016, 1:34 PM
 

A major roadmap feature of Adapt that the core team has been working hard on for some time now is new  functionality that makes it easier to create courses in multiple languages.

This new functionality is being QA'd this week and includes:

  • new commands to export and import text so that it can be localised and new language versions created
  • a new extension that gives the learner the ability to choose a preferred language.

The CLI command for localisable text export relies on a new property - translatable - to identify which fields to export. This command will look for translatable in the properties.schema files of all plug-ins: components, extensions, menus, and themes. The core plug-ins have been updated already to include the translatable property. Documentation about Course Localisation and the Language Picker is also available.

We encourage all developers who have plug-ins in the Adapt plug-in registry and in other public repositories to incorporate this new functionality. Please examine the properties.schema of core plug-ins to see how easy it is to add this property to your schema. Read the new documentation if you'd like to understand the broader context. And, if you haven't yet created a properties.schema, please make time to do so. You'll find help in the Properties Schema wiki article and from experienced developers in the Adapt framework Gitter chat room.

If you'd like to try out the new version of the framework that includes that language picker functionality, you can find a test package in the multilanguage branch of the adapt-test-package repository. If you have any questions about the new functionality, please ask in the multilanguage Gitter chat room.

You've been so good to share your work with the community. Please let your efforts continue to make an impact by updating your plug-ins. Thank you!

Picture of Chuck Lorenz
Re: Developers: please add “translatable” to your plug-ins
by Chuck Lorenz - Tuesday, 26 July 2016, 1:26 PM
 

Don’t forget to update your properties.schema and tag or release your plug-in. The community site’s plug-in browser will automatically refresh the version (in due time).