We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 02e0fcd + 542829e commit 6963153Copy full SHA for 6963153
Classes/Domain/TranslatableProperty/TranslatablePropertyNamesFactory.php
@@ -31,6 +31,9 @@ public function createForNodeType(NodeType $nodeType): TranslatablePropertyNames
31
if (array_key_exists('type', $propertyDefinition) && $propertyDefinition['type'] !== 'string') {
32
continue;
33
}
34
+ if (isset($propertyDefinition['options']['automaticTranslation']) && !$propertyDefinition['options']['automaticTranslation']) {
35
+ continue; // do not translate (inline-editable) properties explicitly set to: 'automaticTranslation: false'
36
+ }
37
if ($this->translateInlineEditables && ($propertyDefinitions[$propertyName]['ui']['inlineEditable'] ?? false)) {
38
$translateProperties[] = new TranslatablePropertyName($propertyName);
39
0 commit comments