Is it possible to translate only the caption of an image, without uploading the image multiple time for each language?
Something like this doent work, I all fields are editable.
image:
label: Einzelbild
type: structure
max: 1
fields:
file:
label: Bild
type: files
max: 1
layout: cards
preview: true
translate: false
caption:
label: Bildunterschrift
type: text
translate: true
copyright:
label: Copyright
type: text
translate: true
order:
label: Reihenfolge
type: number
help: "Zahl für die Sortierung in der Lightbox"
translate: false
I think a structure field is not the best approach here. The translate option only works on the top field level, not on nested fields within a field (be it a structure field, or object field).
It might be better to use a files field with translater: false and the required info as meta data of the file itself.
What I expect is a page where all fields of item.yml are visible. But when I create an item in the popup in the screenshot, I don’t get to the item blueprint, but to a standard mask with text (textarea), pages and files.
My goal is to build a clean folder structure for my trilingual project. Each lightbox should pull different media items from the content folders, each of which has text descriptions with translations.
I assumed it would be best if each folder were structured as follows:
Does the item.yml page blueprint exist? If it doesn’t, then the subpage will be created with the right content file name, but when you view it in the panel, display the default blueprint.