Translating Strings with line-breaks in Typoscript
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Translating Strings with line-breaks in Typoscript
Hi
Im using the PrePay payment provider. In the mail the user receives there is a string about the order number which should be included in the transaction. Its this one here:
If you try to translate that normally via the TypoScipt field in the scheduler task you get a error about incorrect TypoScript code. But if you remove the new line it does not recognize it as a translatable string. So what can I do here?
Thanks
Im using the PrePay payment provider. In the mail the user receives there is a string about the order number which should be included in the transaction. Its this one here:
Code: Select all
$msg = $this->translate( 'client', 'Thank you for your order %1$s from %2$s.
The order is pending until we receive the final payment. If you\'ve chosen to pay in advance, please transfer the money to our bank account with the order ID %1$s as reference.' );
Thanks
Re: Translating Strings with line-breaks in Typoscript
Did you try to replace the new line characters by the "\n" escape sequence?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star