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: Get current language name

Status Resolved
Add-on / Version Publisher 1.6.2
Severity
EE Version 2.9.2

Edoardo Biasini

Mar 20, 2015

How to get the current language name?
So far I can get the ID, the short name, the prefix with the documented tags.

#1

BoldMinded (Brian)

You can use the {long_name} variable.

{exp:publisher:languages}
     {short_name}
     {long_name}
{/exp:publisher:languages}
#2

Edoardo Biasini

The tags will loop thru all languages right? I need the CURRENT language name please.

Edoardo

#3

BoldMinded (Brian)

True, the docs also show that you can use {publisher:current_language_code}

Please review the docs, all tags and variables are mentioned there.

Login to reply