@fastfinge To localise the settings panel: import addonHandler, call addonHandler.initTranslation(), and then wrap all user-facing labels (e.g. text of checkboxes) in a call to the magic underscore (_) function.
E.g. _('&Maximum number of history entries (requires NVDA restart to take effect)')