loadExtensionTranslation = async function (svgEditor) {
  let translationModule
  const lang = svgEditor.configObj.pref('lang')
  try {
    translationModule = await import(`./locale/${lang}.js`)
  } catch (_error) {
    console.warn(`Missing translation (${lang}) for ${name} - using 'en'`)
    translationModule = await import('./locale/en.js')
  }
  svgEditor.i18next.addResourceBundle(lang, name, translationModule.default)
}
This is a very basic SVG-Edit extension. It adds a "Hello World" button in
 the left ("mode") panel. Clicking on the button, and then the canvas
 will show the user the point on the canvas that was clicked on.