Closed (fixed)
Project:
Entity Translation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Jan 2011 at 17:50 UTC
Updated:
12 Jun 2014 at 22:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
plachHonestly I did not think too much about this when I decided to display untranslatable fields as read-only values in the translation UI. I guess we could simply remove them to avoid further problems.
I thought having untranslatable fields values might help the user, who otherwise might ask himself why he's not seeing some fields on the translation UI, but that's only a guess. We might ask Bojhan's feedback about this.
Comment #2
Bojhan commentedI think its best to not display these, for a couple reasons :
1. We could be confusing/teasing the user with something thats not translatable, which is what they expected when they clicked on this link.
2. We are assuming that all the content displayed, is familiar to the user - where it could be themed very different in the front-end, making it not familiar at all.
3. We are assuming that this will all be related or needed to make proper translations, it might be displaying a whole lot of unrelated information that stretches the page very long.
Comment #3
plachOk, let's simply our life, then :)
Comment #4
plachHere is a patch removing the untranslatable fields from the translation form as per #2.
Comment #5
sunSomething odd is going on here.
Comment #6
plachSorry, this one should work.
Comment #7
plachComment #8
plachBetter title
Comment #9
plachMoving to the Entity Translation queue. Read #902760: Change module name so it can work with Core translation for details.
Comment #10
das-peter commentedThanks for the patch - I've just applied it. Looks good.
While playing around with the translation form I came across some saving / update issues.
I changed the saving code a little. But since I'm still working with the legacy translation module I can't create an appropriate patch atm.
The affected code is in here
translation_edit_form_save_submitand looks now like this:I'll provide a patch and an extended description why I changed the code ;) asap.
Comment #11
plachThe suggested changes are addressed in #1098106: Translated fields aren't validated (or processed with presave and submit field_attach_ hooks).
Committed #6 to HEAD. Thanks!