Closed fabianmichael closed 2 years ago
This is known issue as #2577 #2775
@afbora Thanks for pointing that out, I wasn’t aware of #2775, because it was already closed. Opened a separate ticket, because #2577 only mentions programatic changes, but not through the UI.
@fabianmichael I understand, but the source of the issue is the same. It even fixed the issue by @neildaniels and is planned for release in 3.5.0 with #2578 PR
✅
Describe the bug
When defining field names with uppercase letters in a blueprint and setting
translate: false
for given field, it will be saved to the translation file, if the page title was edited before any other content has been edited for a translation.To Reproduce
pages/default.yml
), e.g.:(BTW: The error is not limited to the
date
field.)datestart
anddateEnd
.default.en.txt
yet. If you have not worked on the English translation before, the file should not exist.default.en.txt
: The value ofdateEnd
is copied to the English translation (unexpected behavior), whereas the value ofdatestart
is not copied (expected behavior).Expected behavior
Fields which use the
translate: false
option, should never be copied to a translation file, because they are not editable from the panel any longer after that and values in the translation file are also never updated, if field values change in the primary language. This can easily lead to inconsistent content files.Kirby Version
3.4.2
Desktop (please complete the following information):