Page 1 of 1

Translation of multiline strings in typoscript

Posted: 01 Aug 2016, 16:00
by velo
Hi,

i can't figure out how to translate a multiline string in typoscript:
E.g. ßhow can i translate this.

Code: Select all

msgid ""
"I accept the <a href=\"%1$s\" target=\"_blank\" title=\"terms and "
"conditions\" alt=\"terms and conditions\">terms and conditions</a> and <a "
"href=\"%2$s\" target=\"_blank\" title=\"privacy policy\" alt=\"privacy "
"policy\">privacy policy</a>"
I tried this without success (there are no line breaks):

Code: Select all

plugin.tx_aimeos.settings.i18n.de {
5 {
		domain = client
		string = I accept the <a href=\"%1$s\" target=\"_blank\" title=\"terms and conditions\" alt=\"terms and conditions\">terms and conditions</a> and <a href=\"%2$s\" target=\"_blank\" title=\"privacy policy\" alt=\"privacy policy\">privacy policy</a>
		trans = Es wird übersetzt
	}}
Thank you very much
[pb]

Re: Translation of multiline strings in typoscript

Posted: 01 Aug 2016, 19:06
by franzrudolf
Hi,
I had the same problem a few weeks ago. Maybe that thread is helpful for you, too:

typo3-extension-f16/general-translation ... -t705.html

Best regards
Ralph