Page 1 of 1

Translate currency in aimeos 17.4.1

Posted: 01 Jun 2017, 11:48
by pheeb
After an update from aimeos 17.3.0 to 17.4.1 the translation for currency in typoscript doesn't do anymore:

Code: Select all

plugin.tx_aimeos.settings.i18n.de.0 {
	domain = client/currency
	string = CHF
	trans = CHF
}
Other translations work like:

Code: Select all

plugin.tx_aimeos.settings.i18n.de.0 {
	domain = client
	string = Your search result
	trans = Suchresultat
}
Did i miss something?

Thanks
Patrik


Typo3 7.6.10
PHP 5.6.30-0+deb8u1

Re: Translate currency in aimeos 17.4.1

Posted: 01 Jun 2017, 16:27
by aimeos
pheeb wrote:

Code: Select all

plugin.tx_aimeos.settings.i18n.de.0 {
	domain = client/currency
	string = CHF
	trans = CHF
}
That code translates the currency code to itself, so it won't change ;-)

Re: Translate currency in aimeos 17.4.1

Posted: 02 Jun 2017, 07:37
by pheeb
I don't understand, in the de.po file the id is "CHF" and the string "Fr". Now i want to change "Fr" to "CHF".

Code: Select all

#. Fr
#. reference: https://en.wikipedia.org/wiki/Swiss_franc
#. code: CHF
#. sign: Fr, SFr
#. symbol: CHF
#. sequence: <amount><sign>
msgid "CHF"
msgstr "Fr"
In v. 17.3.0 the typoscript code changed it, but now i don't see my mistake. :?

Re: Translate currency in aimeos 17.4.1

Posted: 02 Jun 2017, 08:57
by aimeos
OK, I see. It works quite well in our test environment so I assume that the problem is somewhere else.
Please check if
- you've cleared the cache (TYPO3)
- the locale language is still "de" (TYPO3 and in the admin interface)
- the TS isn't overwritten by another translation block using the same index "0"