All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

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: Bug on {exp:publisher:current_language_code}” dir=“LTR”>

Status Resolved
Add-on / Version Publisher 3.5.1
Severity
EE Version 6.2.4

Andreas Maier

Feb 02, 2022

When using in a template following code:


this tag to retrieve the current 2 digit language code, this is what is returned:

 

 

#1

Andreas Maier

<!DOCTYPE html>
<html lang="{exp:publisher:current_language_code}" dir="LTR"> 
<head>
<!DOCTYPE html>
<html lang="M0b3db4d4e81db2ff168efcf931bd7487f" dir="LTR">
#2

BoldMinded (Brian)

It’s {publisher:current_language_code}, no exp: prefix. Also it does not accept any parameters. https://docs.boldminded.com/publisher/docs/template-tags

#3

Andreas Maier

oh my dear. My bad….. sorry

Login to reply