Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
first of all, super product you have #h5yr.
In my solution i have som custom grid elements, which the default setup doesn´t translate.
I´m trying to add them to the Translations.config file under mappers/grud/custom/
I can´t find any documentation on setting up a custom grid-element containing arrays.
"title":"Image title 1",
"title":"Image title 2",
Can you help me in the right direction here? Ex. if i want to translate the properties in images.items.title
Yes, the out of the box custom grid config doesn't really support values in arrays, so it might be that you need to write a custom mapper, to get those values out.
the code for the Custom Grid Mapper is available here https://gist.github.com/KevinJump/a7754bb20f93b1e9934a8cbfb1bb9203
so it might be that you can use this and expand it to support the array values, it's just not something that is in the core of translation manager at the moment.
thanks for the hint. My problem at the moment is, that it seems like the valueMapper is not getting registered. Where can i do that, and how do i trigger the mapper? Is it every time i send a node to translation?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted