Default Drupal system language code is 'en' but default node language is 'und' when language modules are enabled, so this mismatch leads to this module to stop working. This patch will identify if the node is in default 'und' status and then forced to use the site's default language.

CommentFileSizeAuthor
#2 2981317-02-patch.diff984 byteshypertext200

Comments

heshanlk created an issue. See original summary.

hypertext200’s picture

Status: Active » Needs review
StatusFileSize
new984 bytes

  • Peter Majmesku committed 7ce2dc4 on 2981317-language-modules-disables authored by heshanlk
    Issue #2981317 by heshanlk: Module does not work when language modules...

jepster_’s picture

Status: Needs review » Fixed

Thanks for your contribution! I have removed also the remaining hardcoded language code definition in the KernelEventListener via using your suggested language manager from Drupal.

The fix is part of the latest version 8.x-1.54 release.

jepster_’s picture

Status: Fixed » Closed (fixed)
jepster_’s picture

Please feel free to re-open this issue, if you have any objections.