I have a custom field of type long text on an image file type field used in a custom content type. The content type, image file field and my custom field on the file have translation turned on. When adding new/editing the file only the default language is possible to edit.

If I add a node using said content type, add a new image and type in text in my custom field, after saving and translating the node, when editing the file to add translated content to the field, the original language is edited. The text area name for the field has the default language code:

<textarea class="text-full form-textarea" id="edit-field-arkivbilde-tekst-nb-0-value" name="field_arkivbilde_tekst[nb][0][value]" cols="60" rows="5" aria-hidden="true" style="visibility: hidden; display: none;">..content..</textarea>


Devin Carlson’s picture

Version: 7.x-2.0-unstable7 » 7.x-2.x-dev
Status: Active » Postponed (maintainer needs more info)

Is this still a problem with the Media and File entity latest 2.x-dev releases?

I haven't had any issues with translating files with Entity Translation.

Mind Design’s picture

Yes, but translating files is not a problem, it is translating file fields that is a problem.

edit: I am not able to translate title or alt tag either.
edit 2: oh snap. It is when I am using the Media file selector that the problem occurs. Seems I am just able to edit the default language file. This is probably a Media module bug.
edit 3: Found an old bug here: https://drupal.org/node/1470018 that describes my problem. Will have to check why it is not fixed anymore.

Devin Carlson’s picture

Project: File Entity (fieldable files) » Media

Moving this to the Media queue based on #2.