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,
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
Re: Multiple translations in typoscript
First, you have to use "domin = client" if you are using a 16.x version because that changed between 24. and 16.x.tonyl09 wrote:Code: Select all
plugin.tx_aimeos.settings.i18n.en { 0 { domain = client/html string = Attributes trans = Filter } }
In that case, the TypoScript must be entered in the TS-Config field in the scheduler task, because it's not a frontend thing.tonyl09 wrote:We also want to change a phrase in the hte customer payment email:
Yes, you can add more translations to existing ones withtonyl09 wrote:How do we include the multiple string/trans pairs without the second overwriting the first? Are we supposed to add a
2{
...
}
block?
Code: Select all
plugin.tx_aimeos.settings.i18n.en {
2 {
domain = client
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.
}
}
Are there more strings that are not in correct English?
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
Re: Multiple translations in typoscript
Thank you.
Is there a list of all the phrases available? I could take a quick review to see if there are any glaring English issues.
I am new to this client and did not develop the store, so I am unfamiliar with what the original developer had set up.
Is there a list of all the phrases available? I could take a quick review to see if there are any glaring English issues.
I am new to this client and did not develop the store, so I am unfamiliar with what the original developer had set up.
Re: Multiple translations in typoscript
You can use this file as reference:tonyl09 wrote: Is there a list of all the phrases available? I could take a quick review to see if there are any glaring English issues.
https://github.com/aimeos/ai-client-htm ... client.pot
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
Re: Multiple translations in typoscript
I reviewed that file, and that was the only phrase that I think should be fixed.