For apps that support async translation loading, a new function OC.L10N.load() can be used to asynchronously load the translations for a given app.
Added addTranslations and fixed de.js file Fixed de.js to use OC.L10N.register() and use to correct expected format. Added JS unit tests for OC.L10N class Include translations JS script for all apps