Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
0. switch to a non-english language
1. go to forum index (located at path "forum")
2. view title of page
expected behavior: title of page is in language selected in #0
actual behavior: title of page comes from taxonomy
Comment | File | Size | Author |
---|---|---|---|
#2 | forum-localize-title_0.patch | 580 bytes | nickl |
forum-localize-title.patch | 376 bytes | Wesley Tanaka | |
Comments
Comment #1
Wesley Tanaka CreditAttribution: Wesley Tanaka commentedalternatively, the 'title' in the associated hook_menu item in forum.module could be removed, since it's currently dead code. but i would much prefer the solution encapsulated by the patch included above.
Comment #2
nickl CreditAttribution: nickl commentedAparantly the problem lies with the title of the page coming from taxonomy and not from the translations but I don't see how this patch will fix that.
Rerolled to head.
Comment #3
Wesley Tanaka CreditAttribution: Wesley Tanaka commentedIf I remember right, it avoids replacing the default title (which uses t()) that's set in hook_menu().
Comment #4
Liam McDermott CreditAttribution: Liam McDermott commentedMarking as duplicate of: #72871: Renaming the Forum (apparently it is possible to localise the forum index title)