User language in Print Formats

I want to display a standard text on each print out of a DocType, depending of cource on the user’s current language.
Can I have that in a way like

{%- if user.language = 'de' -%}
     <p> print Deutsch text </p>
{%- else -%}
     <p> print English text </p>
{%- endif -%}
1 Like

Any advice/hint/solution on that?