How to translate a custom badge?

We have a few custom badges on our forum and we’d like them to be translated into a few languages (name/description/long description), but I can’t figure out how to do that for custom badges.

To be clear, I’m aware how to change the text of existing badges. But in this case is for custom badges and that interface doesn’t allow to add new translations strings.

I guess one could wrap server.*.yml files into a plugin — would that work? Any other way to do this?

Apologies if this is already answered somewhere but my searches didn’t get me there.