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)
#4699 by pixls
04 Oct 2017, 13:14
Hi

In the the file ai-client-html/client/html/templates/basket/standard/body-default.php
there are these error messages:

<?php if( isset( $this->standardErrorList ) ) : ?>
<ul class="error-list">
<?php foreach( (array) $this->standardErrorList as $errmsg ) : ?>
<li class="error-item"><?= $enc->html( $errmsg ); ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>

How can I translate/change those? I'm working on a German speaking site and if I enter a voucher code without meeting the basket value requirement I get an English Message.

Thanks for any help.
PHP 7.0.24, TYPO3 8.7.7, aimeos 17.7.0
#4713 by aimeos
05 Oct 2017, 14:03
The problem is that the coupon code is part of the message. It can't be translated because of that dynamic part. We've fixed that in the dev-master branch and it will be part of the next release:
https://github.com/aimeos/ai-controller-frontend/commit/cd55f091f03d87688be1a9c579be9539fbdc1b71