Closed rowild closed 1 year ago
Guess, these settings will be only used if you open the admin backend with a page selected in the page tree. The translation option that is always working is adding a Gettext .po files in the ./i18n/admin/ directory with your translations and compile it into a MO file: https://aimeos.org/docs/latest/developer/translations/#gettext
I tried to have a site active, but that does not make any difference - still not working. Which ./i18n/admin folder are you talking about? Where would that one be? vendor/aimeos/ai-admin-jqadm/i18n? There is no admin folder and there aren't any newly created files... (neither in any other aimeos-related folders)
"Copy the existing .po file (e.g. de.po) to the same directory as in the core extensions, e.g. from "./vendor/aimeos/ai-client-html/i18n/de.po" to "./packages/myextname/i18n/client/de.po"
This is not at all the "same directory" [structure]!?!?!?
How does that translate to "ai-admin-jqadm" in a TYPO3 extension? (I use a sitepackage ext that was generated by the "Aimeos extensions generator"; and it seems the structure changed a lot between 2020 and 2022...)
I tried: ./packages/theme/Resources/Private/Extensions/aimeos/ai-admin-jqadm/i18n/
It contains the files de de.po en en.po
But it does not work.
There is also a "theme" folder that was created by the Aimeos ext generator and mirrors some aimeos sturcture. Within "theme" there is also a "i18n" folder. Putting the translation files there does not work either.
Sorry, there was an error in the documentation. Now it's fixed.
I don't see any changes...
copy "./vendor/aimeos/ai-client-html/i18n/de.po" to "./packages/myextname/i18n/de.po"
Maybe you have to force reload the page.
I did, of course! Are you addressing the TYPO3 ext structure in your example? I need to change terms in "ai-admin-jqadm". So I copy the en and de files to my typo3 ext to the location the docu recommends. If the example is really the way to go, how would I add de and en files from another aimeos extenstion like "ai-client-html" without overwriting the already existing de and en files in my ext???
According to this post: https://aimeos.org/help/viewtopic.php?f=15&t=5173&p=20221 the renaming of menu items of Aimeos should work via a page typoscript like this:
However, this does not work at all.
Tested with: TYPO3 10.4.36, 11.5.25 php8.1 aimeos 21.10.7, aimeos 22.10.5, Aimeos Distribution
The TS was inserted in "Page Properties > Resources > Page TsConfig", but also used in a theme extension where, in "ext_localconf.php" these lines
included this script from "EXT:theme/Configuration/TSconfig/page.tsconfig":