Quantcast
Viewing all articles
Browse latest Browse all 82784

Language tag as classname in the body

When a user switches from language a tag (en or fr) is set as an classname at the body level like:

<body dir="ltr" class="profile-desktop role-user en" cz-shortcut-listen="true">

Based on this information different styles are used for some parts in the application. This works perfectly.

But when i open a page using the deeplink module the language is not filled.

<body dir="ltr" cz-shortcut-listen="true" class="profile-desktop role-user">

Therefor some styling is missing. I'm thinking about creating a widget that places the language to the body tag. Or am i missing something, or is this a Mendix bug?


Viewing all articles
Browse latest Browse all 82784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>