Closed (duplicate)
Project:
Drupal core
Version:
9.3.x-dev
Component:
block.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
3 Oct 2016 at 12:55 UTC
Updated:
2 Oct 2025 at 11:02 UTC
Jump to comment: Most recent
Comments
Comment #2
make77 commentedTo display the title translation on custom blocks, I had to do this:
Comment #3
niyon commentedComment #4
bahuma20#2 works for me.
I just have added a check for empty titles to do not display these:
Comment #5
Rizwan Siddiquee commented#4 works for me
Comment #6
brayfe commented#4 worked for me as well. I just don't understand why that isn't the normal behavior within core when viewing a translated block.
Comment #8
fengtanTried #4 as well -- this works as expected.
Comment #11
vangelisp commentedJust wanted to say that #4 worked for me as well ! Many thanks all!
Comment #12
quietone commentedThanks for the patches!
Tested on standard install of Drupal 9.4.x and this is still happening. This is a bug, so changing category.
This is a duplicate of #3226452: Block title is displayed in interface language, block content in content language. Should be content language. and even though that is later it has more discussion of the problem so I am closing this as a duplicate. And adding credit over there.
Thanks!
Comment #13
mvpfi commentedAs of Drupal 9.4.5 this is still happening. While it puzzles me why, #4 fixes this issue just like that.
Comment #14
ressaIn my case, it was because the blocks were from a View, and they are considered configuration, see #3549927: Streamline translation of Views block titles, custom menu titles, etc.: Allow Interface Translation.