How to translate custom print format?

Hello,
I want to make both fields and their values translatable in a custom print format.
Does anyone have an idea?