en_EN
or fr_CA
, however, it is not used for any language identification or switching logic. It is only provided as a property for each language that could be used for template purposes such as setting meta tags, e.g. <meta property="og:locale" content="en_US">
and <meta property="og:locale:alternate" content="de_DE">
{exp:publisher:switcher}
and {exp:publisher:languages}
module tags, effectively removing it as an option that users can select. If disabled the language will still be availalbe within the control panel for editing, and accessible on the front-end of the site if the user manually changes the URL string. For example, if Spanish is disabled, but the user changes the URL from site.com/en/page
to site.com/es/page
the Spanish page will still load if it exists.{text_direction}
. You can use this in your HTML markup to set dir attribute on your elements. For example: dir="{text_direction}"
.