Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#3740 by tonyl09
17 Dec 2016, 02:12
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
#3742 by aimeos
17 Dec 2016, 13:02
tonyl09 wrote:
Code: Select allplugin.tx_aimeos.settings.i18n.en {
  0 {
    domain = client/html
    string = Attributes
    trans = Filter
  }
}


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:We also want to change a phrase in the hte customer payment email:


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:How do we include the multiple string/trans pairs without the second overwriting the first? Are we supposed to add a
2{
...
}
block?


Yes, you can add more translations to existing ones with
Code: Select allplugin.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.
  }
}

The important thing is that the indexes aren't used twice.

Are there more strings that are not in correct English?
#3743 by tonyl09
17 Dec 2016, 13:13
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.
#3744 by aimeos
17 Dec 2016, 13:23
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.


You can use this file as reference:
https://github.com/aimeos/ai-client-html/blob/master/client/i18n/core-client.pot