How do I localize the values of a SelectOptionDict?

I’ve been trying to find documentation or an example of how to do this but I’m coming up blank.

Worked it out by inspecting one of the core integrations.