Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Language Abbreviation Variable

Status Resolved
Add-on / Version Publisher
Severity Trivial
EE Version

Colton Brugger

Nov 08, 2012

I need to use the current language abbreviation in my code, as it’s what I use to handle some CSS rules, select language-specific imagery, and more…

e.g.:
<header class=“lang_{publisher:language_abbreviation}”>

</header>

If this functionality already exists and I’ve foolishly missed it, I’d appreciate you pointing it out.

Thank you.

cb

#1

BoldMinded (Brian)

I”ve just recently added that, I’ll email the next build to you to try.

Login to reply