Closed (duplicate)
Project:
File Entity (fieldable files)
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2015 at 09:57 UTC
Updated:
29 Sep 2017 at 21:24 UTC
Jump to comment: Most recent
Comments
Comment #2
leksat commentedIn my case, the fielname_field (provided by the title module) was also affected. Works like a charm after applying the patch.
Comment #3
catchThis is a duplicate of #2473621: Alt and title text don't appear in the correct language when viewing a file in a language other than the current page language although the patches take different approaches. Back to CNR though since they need consolidating.
Comment #4
joseph.olstadI also noticed this issue. See the approach I took (a small, fairely straightforward core patch)
#2835135: image formatter needs to handle alt/title from file entities on images for multi language support
I'm thinking of committing either the patch to file_entity by @David_Rothstein
#2473621: Alt and title text don't appear in the correct language when viewing a file in a language other than the current page language
OR
the one by @das-peter :
#2806081: translated Title and Alt text fix, use optionally with entitycache and entity_translation
different approaches , but both look good. I'm leaning towards the @David_Rothstein approach because it is maybe slightly simpler? not sure.
Comment #5
joseph.olstadComment #6
joseph.olstadthere is the other approach by @David_Rothstein
#2473621: Alt and title text don't appear in the correct language when viewing a file in a language other than the current page languageperhaps also equally valid?@das-peter approach is one of two patches:
#2806081-1: translated Title and Alt text fix, use optionally with entitycache and entity_translation
https://www.drupal.org/files/issues/file_entity-integrate-with-entity-ca...
AND
#2553067: Language option missing for token replacements
https://www.drupal.org/files/issues/file_entity-use-language-when-replac...
Comment #7
joseph.olstadWe went with the other patch in this issue instead.
#2806081: translated Title and Alt text fix, use optionally with entitycache and entity_translation
Thanks everyone, this is fixed.