Problem/Motivation
If I exclude a field from translation in the Auto Translation Settings, the field remains empty in the translation. If I exclude e.g. a surname from translation, it should have its original value in the translation. For example, if translated, a common German surname like Bauer would become Farmer in the translation, Vogel would become Bird etc. Therefore, I exclude it, but then it remains empty.
Steps to reproduce
Exclude a field in the Auto translation settings and translate its node. The field will be empty, even if the original is not.
Proposed resolution
I made a patch which solved that problem for me. Please take a look.
Comments
Comment #2
martin mayer commentedComment #4
bigbabertComment #5
bigbabertHi @martin mayer,
i've re-used the elseif statement from your patch and added the get of settings in the centralized function getExcludedFields. Have a look to the new release 1.4.30 to verify that it works as expected.
Best regards
Comment #6
bigbabertComment #7
martin mayer commentedHi @bigbabert
I testet it and it works fine. Your solution is much more systematic than my idea. Thank you very much!