Closed (outdated)
Project:
Masquerade
Version:
7.x-1.0-rc7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2020 at 04:45 UTC
Updated:
18 Apr 2026 at 11:34 UTC
Jump to comment: Most recent
Comments
Comment #2
avpadernoComment #3
ressaIn an attempt to help the maintainers, I am going through some of the Drupal 7 issues, since it's EOL ... So thanks for making this request @bassplaya, is it still relevant for 2.x in Drupal 11?
Comment #4
bassplaya commented@ressa, too long ago. I’m not sure if I ever have used it assuming this feature had been added.
Comment #5
ressaThanks for a fast feedback, let's close it then.
I added the current language as a custom CSS class to my multilingual site arst.dk in Drupal 10 (Drupal's multilanguage support is spectacular) via Twig templates. First define the variable in a custom module:
... then use in custom theme file
html.html.twiglike this, adding for examplelang-fr:Good luck with the English teaching!