Translation of multiline strings in typoscript

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
velo
Posts: 44
Joined: 20 Jun 2016, 06:58

Translation of multiline strings in typoscript

Post by velo » 01 Aug 2016, 16:00

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]

franzrudolf
Posts: 38
Joined: 23 Nov 2015, 14:10

Re: Translation of multiline strings in typoscript

Post by franzrudolf » 01 Aug 2016, 19:06

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

Post Reply