The main forum table shows only the original language even though there are translations

Created on 24 January 2021, almost 4 years ago
Updated 10 April 2024, 8 months ago

Problem/Motivation

The table on the forums main page for the second language (e.g. mysite.com/es/forum) shows the forum titles in English.

Steps to reproduce

  1. Install the forum module on a website that has multiple languages. In my case, I have English and Spanish.
  2. Enable translation for "Content:Forum" under /admin/config/regional/content-language.
  3. Also, enable translation for "Taxonomy term:Forums topic" under /admin/config/regional/content-language.
  4. Add a few new forums in English language at /admin/structure/forum
  5. Go to /admin/structure/taxonomy/manage/forums/overview and add translations to the forum terms
  6. Visit /es/forum and you will see that the forums listed are still in English; even though the interface is in Spanish (/es/).

Proposed resolution

The expected behavior would be for the forums to be listed in Spanish language when they have a translation or when the language of the term is originally in Spanish language.

I understand that forums are generarly user generated content; however, I would like to have the same categories (or forums) in both languages. As a workaround, I tried to create the forums independently in both languages (not as a translations) but the page /es/forum continued to show the English forums in addition to the Spanish forums.

When working with multilingual views, there is a way of telling the view to use the translation that matches the language of the interface; however, the page /es/forum doesn't appear to have a corresponding view that can be used for tweaking.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

forum.module

Created by

πŸ‡ΊπŸ‡ΈUnited States jcmartinez Raleigh, NC, USA

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024