带有图像 "Translation Behaviour: Custom Value" 的 TYPO3 新闻翻译不工作

TYPO3 News Translation with Image "Translation Behaviour: Custom Value" isn't working

我在 TYPO3 8.7 的新闻元素和为翻译设置自定义图像时遇到了一些小问题。我还是 TYPO3 的新手。

我想让我的新闻的英文版本与我的标准语言版本有不同的图像,但我只能为两者或 none 制作相同的作品。

首先,我添加了带有图像的新闻元素,将其翻译成英文,将图像的翻译行为设置为 "Custom Value",隐藏了原始图像,然后添加了新图像。

我希望英文版会使用新图像,但事实并非如此。完全没有图像。其他一切都按预期工作。当我取消隐藏旧图像并使用 "Translation Behaviour: Value of default language" 时,我得到了标准图像。

我也试过删除翻译版本中的标准图片,但没有任何效果:X

我的tt_content.php没有设置'allowLanguageSynchronization'。 文档说默认情况下它是 "false" 所以我不认为它导致了问题。一些论坛帖子表明这可能是某些类似问题的原因,就像我说我对 TYPO3 还是新手,我不知道我在这里遗漏了什么。

我对这个问题所做的大多数研究 link:https://forge.typo3.org/issues/57272

编辑:已修复 link

请检查我对这个问题的回答:

在浪费时间调试之前,试试这个扩展: https://packagist.org/packages/stefanfroemken/repair_translation

如果它不起作用,请在此处附上有关您的 TypoScript 配置的详细信息,尤其是 config.sys_language_modeconfig.sys_language_overlay

https://docs.typo3.org/typo3cms/TyposcriptReference/8.7/Setup/Config/Index.html?highlight=language#sys-language-mode

https://docs.typo3.org/typo3cms/TyposcriptReference/8.7/Setup/Config/Index.html?highlight=language#sys-language-overlay