Attribute type code and label in site
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!
Attribute type code and label in site
I added several types of attributes for products with 'code' on English and 'label' on Russian:
note|примечание
comment | комментарий
and so on
But on site pages in section ATTRIBUTES I see new attributes on English: note, comment. That is output to site 'code' is used instead of the 'label'.
At the same time, in the demo data 'color|цвет' and 'size|размер' all as required, and is used 'label' on Russian (цвет, размер).
What could be the reason?
note|примечание
comment | комментарий
and so on
But on site pages in section ATTRIBUTES I see new attributes on English: note, comment. That is output to site 'code' is used instead of the 'label'.
At the same time, in the demo data 'color|цвет' and 'size|размер' all as required, and is used 'label' on Russian (цвет, размер).
What could be the reason?
Re: Attribute type code and label in site
If you add new attribute types, you should also provide translations to your language. The codes of the attribute types is used as key to lookup the translation. The easiest way to add new translations is described here: http://docs.aimeos.org/TYPO3/Overwrite_translations. For example:
Replace <number> with an unique number not used for any other translation yet. The label can't be used for this as it wouldn't be possible to provide the label in different languages according to the database structure.
Is this helpful for you?
Code: Select all
plugin.tx_aimeos.settings.i18n.ru.<number> {
domain = client/html/code
string = note
trans = примечание
}
Is this helpful for you?
Re: Attribute type code and label in site
Yes, this is what I need!
I just thought that the label - this is what is displayed as the name ...
I just thought that the label - this is what is displayed as the name ...
-
- Posts: 2
- Joined: 23 May 2016, 14:54
Re: Attribute type code and label in site
Hey guys,
i have the same problem, but the solution dont work for me.
I created some attributes with keys "breite", "hoehe", "verglasung", "farbe" and "uwwert".
After that i added the overwriting translation but the keys are displayed in frontend as before.
You can see some screenshots as attachment. Hope somebody can help.
Thanks a lot.
i have the same problem, but the solution dont work for me.
I created some attributes with keys "breite", "hoehe", "verglasung", "farbe" and "uwwert".
After that i added the overwriting translation but the keys are displayed in frontend as before.
You can see some screenshots as attachment. Hope somebody can help.
Thanks a lot.
- Attachments
-
- 2016-05-26 12_23_01.jpg (45.68 KiB) Viewed 8538 times
-
- 2016-05-26 12_26_27.jpg (20.24 KiB) Viewed 8538 times
-
- 2016-05-26 12_31_30.jpg (22.03 KiB) Viewed 8538 times
Re: Attribute type code and label in site
Where do you want to see the translations? In the detail view?
If yes, is the TypoScript in a TS extension template in the detail page or one of the parent pages? Did you clear the TYPO3 caches?
If yes, is the TypoScript in a TS extension template in the detail page or one of the parent pages? Did you clear the TYPO3 caches?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 2
- Joined: 23 May 2016, 14:54
Re: Attribute type code and label in site
I want to see the translation in the detail view, correct.
The TypoScript is on the parent page:
a) static template is included (Aimeos Shop configuration);
b) TS-file with setup is included on same page id;
c) checkbox "Include static template after basic-template" is NOT active.
Regards, Martin.
The TypoScript is on the parent page:
a) static template is included (Aimeos Shop configuration);
b) TS-file with setup is included on same page id;
c) checkbox "Include static template after basic-template" is NOT active.
Regards, Martin.
Re: Attribute type code and label in site
Do you use the latest version? If not, please update first.
It's difficult to say from here what's the problem in your installation. If nothing works, someone should have a look into your installation to solve the problem. The Aimeos company offers support like this: https://aimeos.com/eur/support/
It's difficult to say from here what's the problem in your installation. If nothing works, someone should have a look into your installation to solve the problem. The Aimeos company offers support like this: https://aimeos.com/eur/support/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
