I'm trying to create a localized document template including some boilerplate text blocks, using the translations package. Everything's working great so far, except I cannot declare translations spanning multiple paragraphs.
Whenever the translation string contains a paragraph break, compilation aborts with the following error:
ERROR: Paragraph ended before \NewTranslation was complete
I have tried wrapping the message inside an \mbox without success.
Is there a way to have a translated message spanning multiple paragraphs?
I'm not really invested in the translations package, so if there's a better way to achieve my result, please let me know! :)
Here's a minimal working example illustrating the problem:
\documentclass{standalone}
\usepackage[ngerman]{babel}
\usepackage{translations}
\NewTranslation{ngerman}{template}{%
Erster Absatz.
Zweiter Absatz.
}
\begin{document}
\GetTranslation{template}
\end{document}



translationsmacros are defined as 'short' macros, i.e., ones that don't support\parinside them. I assume this is by design. You might want to contact the package author. – Alan Munn May 09 '17 at 15:54translatorpackage (part ofbeamer) can deal with paragraphs in translation definitions. I don't know much about either package however, to decide between them. – Alan Munn May 09 '17 at 16:20translations. I didn't foresee that one might want long translations… – cgnieder May 09 '17 at 16:25