Rename menu item in Backend?
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Rename menu item in Backend?
I would like to rename "Suppliers" to something else. Is that at all possible, and if so, how?
Re: Rename menu item in Backend?
Yes, it can be translated to a different string. The translation domain is "admin" and the string "supplier". For TYPO3, this setting in the TSConfig may work:
Code: Select all
module.tx_aimeos.settings.i18n.de.0 {
domain = admin
string = supplier
trans = Hersteller
}
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: Rename menu item in Backend?
Thank you!
I have to place the snippet into the "Page tsConfig" field of the Shop root page, if I am not using a sitepackage, right? (As described here: https://docs.typo3.org/m/typo3/referenc ... getsconfig)
(In my case, that is the same site where the Aimeos Distribution includes its own ts-scripts.)
If so, then this does not work, the Aimeos backend still shows "Supplier".
I did upload a wrong image in my initial post, sorry for that. Here are the ones that show the "Supplier" string, where I would like to have it changed to sth else.
I tried this, since the menu item in the "Catalog" submenu is actually plural:
I also tried with "module" removed and, in another try, "plugin" instead of "module" as described in the Aimeos docu:
https://aimeos.org/docs/2022.x/typo3/cu ... nformation
But I assume that does not make sense at all, since I want to change things in the backend, which require the "module" prefix, right?
How do I find out if my installation uses "en" or "en_US"? (I used the Aimeos Distribution on a composer-installed TYPO3 11.)
I have to place the snippet into the "Page tsConfig" field of the Shop root page, if I am not using a sitepackage, right? (As described here: https://docs.typo3.org/m/typo3/referenc ... getsconfig)
(In my case, that is the same site where the Aimeos Distribution includes its own ts-scripts.)
If so, then this does not work, the Aimeos backend still shows "Supplier".
I did upload a wrong image in my initial post, sorry for that. Here are the ones that show the "Supplier" string, where I would like to have it changed to sth else.
I tried this, since the menu item in the "Catalog" submenu is actually plural:
Code: Select all
module.tx_aimeos.settings.i18n.en_US.0 {
domain = admin
string = supplier
trans {
0 = Event Organiser
1 = Event Organisers
}
}
module.tx_aimeos.settings.i18n.en.0 {
domain = admin
string = supplier
trans {
0 = Event Organiser
1 = Event Organisers
}
}
module.tx_aimeos.settings.i18n.de.0 {
domain = admin
string = supplier
trans {
0 = Veranstalter
1 = Veranstalter
}
}
https://aimeos.org/docs/2022.x/typo3/cu ... nformation
But I assume that does not make sense at all, since I want to change things in the backend, which require the "module" prefix, right?
How do I find out if my installation uses "en" or "en_US"? (I used the Aimeos Distribution on a composer-installed TYPO3 11.)
Re: Rename menu item in Backend?
Seems like TS-based translations doesn't work here. Use Gettext translations instead:
https://aimeos.org/docs/latest/developer/translations/
https://aimeos.org/docs/latest/developer/translations/
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