โšก๏ธ Live updates comments, jobs, and issues, tagged with #multilingual will update issues and activities on this page.

Issues

The last 100 updated issues.

Activities

The last 7 days of comments and CI jobs.

  • ๐Ÿ‡ซ๐Ÿ‡ทFrance erwangel

    MR!3 worked for me on Drupal 10.4.7 + forum 1.0.2 and forum names (Taxonomy terms) appear in the right language.

    However topic titles still appear in the original/posted language. This has for effect to user to loose his interface language. My use case is to have forum/taxonomy terms translated; forum nodes are not translated but author can chose the content language.

    Let's say we have lang1 as default language and lang2 as second language code.

    Whatever the interface language is, topics are listed as follows:

    Forum title is displayed in the interface language (after applying the patch, now it works as expected)
    Topic 1 published in default language has aliased url1: forum/the_topic_1_title
    Topic 2 published in lang2 has aliased url2: lang2/forum/the_topic2_title

    If a user navigates the site with the default language and clicks on topic 2 title (url2) all his interface language will switch to the lang2.
    Same if he uses lang 2 interface and he clicks on url1, his interface will switch to lang1.
    This is because interface detection is done from url's lang_code which I think is the most used case.

    I think the correct display of topics listing should be:

    If interface language is default (lang1)
    Topic 1 published in default language has aliased url1: forum/the_topic_1_title
    Topic 2 published in lang2 has unaliased url2: /node/nid2

    If interface language is lang2
    Topic 1 published in default language has unaliased url1: /lang2/node/nid1
    Topic 2 published in lang2 has aliased url2: /lang2 /forum/the_topic_2_title

Production build 0.71.5 2024