hey there,
I have a content type whose images are sync'ed. however, I've noticed it also syncs alt texts.
how can I sync the image, but translate the alt text?
cheers,
Luciano
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | i18n-sync-filefield-alt-and-title-text-1286882-5.patch | 1.4 KB | webflo |
Comments
Comment #1
jose reyero commentedYou can write a different 'alt' text for every translation.
Comment #2
luco commentedhow? if I change the alt text on a node, it's changed on the translated one as well. am I missing something?
Comment #3
loominade commentedi have the same problem but also with the title text
Comment #4
myxelf commentedThis is actually a bug. Please refer to #749926: Imagefield title and alt field are reset after re-editing source node for a better description of a very similar issue in the past. I can't tell if what is happening now is occurring under the same circumstances. Further investigations on the previous issue revealed it was related to the FileField module, but in 7.x this module is now in Core.
I'm not including much more information here cause the other thread has plenty of information. I'll keep an eye on this to see if this is enough for somebody to come up with something, otherwise I'll try to be more helpful.
MyXelf
PS: Changing the title to something more relevant (I guess).
Comment #5
webflo commentedStill present in 1.3. This is easy to fix. Its pretty obvious. $langcode contains the entity language not the field language.
Comment #6
webflo commentedTriggering testbot.
Comment #7
jose reyero commentedLooks good, committed, thanks!
Comment #8
luco commentedworks for me... thank you!
plus it's an important accessibility matter. congrats!