Handle translation for custom installer adapter

If you have a custom installer adapter, the name and the description of the custom elements will not translated. After the patch there is a small "hook" which allows translations.