Environment Variable ze::$langId

Summary

The language id for the current content item.

Where You Can Use It

Anywhere in your PHP or JavaScript code. From Zenario 7.0.0 onwards.

Description

The id of the language that the current content item is in.

Depending on how a site is organised this can be a short language code (e.g. "en", "es", "fr") or a language tag (e.g. "en-us", "zh-hans").

Please see http://www.w3.org/International/articles/language-tags/ for more information on country codes and language tags.