MULTIPLE TRANSLATIONS 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!
MULTIPLE TRANSLATIONS IN TYPOSCRIPT
Hello everyone,,,
In SETUP we already have:
plugin.tx_aimeos.settings.i18n.en {
0 {
domain = client/html
string = Attributes
trans = Filter
}
1 {
domain = client/html
string = %1$d article
trans {
0 = %1$d
1 = %1$d
}
}
}
We also want to change a phrase in the hte customer payment email:
plugin.tx_aimeos.settings.i18n.en.1 {
domain = client/html
string = We received the payment and will care about your order immediately.
trans = We have received your payment, and will take care of your order immediately.
}
How do we include the multiple string/trans pairs without the second overwriting the first? Are we supposed to add a
2{
...
}
block?
Thank you
In SETUP we already have:
plugin.tx_aimeos.settings.i18n.en {
0 {
domain = client/html
string = Attributes
trans = Filter
}
1 {
domain = client/html
string = %1$d article
trans {
0 = %1$d
1 = %1$d
}
}
}
We also want to change a phrase in the hte customer payment email:
plugin.tx_aimeos.settings.i18n.en.1 {
domain = client/html
string = We received the payment and will care about your order immediately.
trans = We have received your payment, and will take care of your order immediately.
}
How do we include the multiple string/trans pairs without the second overwriting the first? Are we supposed to add a
2{
...
}
block?
Thank you
Last edited by Macgomes on 13 Jun 2019, 16:02, edited 1 time in total.
Re: MULTIPLE TRANSLATIONS IN TYPOSCRIPT
The plugin.tx_aimeos.... prefix is for frontend only in TYPO3. The e-mails are sent by the scheduler tasks and you need to add your translations to the TSConfig field of the scheduler task.
Regarding new translations: Yes, each translation needs a unique index (0, 1, 2, etc.).
BTW: The "domain" for most HTML client related translations is "client", not "client/html" any more
Regarding new translations: Yes, each translation needs a unique index (0, 1, 2, etc.).
BTW: The "domain" for most HTML client related translations is "client", not "client/html" any more
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