internationalization - Author API

Internationalization

Labels and text rendered by the Author API user interface can be changed or translated to other languages.

Instructions

When calling LearnosityAuthor.init() an internationalization bundle can be supplied as label_bundle. The bundle can be a simple object of key value pairs. When using developer or an LTS version from v2025.2.LTS onwards, the bundle definition can be a nested JSON structure which makes it more readable. Both formats are equivalent.

Label listing

The list of key value labels can be loaded as raw JSON here: flattened Author API label bundles. The list of nested labels can be loaded as raw JSON here: nested Author API label bundles.

Further reading

See Translating the Learnosity user interface with label bundles for more information.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.