Documentation


Lang

The lang tag allows access to the language settings for the current logged in user. If no user is logged in, the default site language is used.

Tags

{pyro:lang:name}

Returns the full name of the language choice.

Example Ouput:

English

{pyro:lang:folder}

Returns the folder name of the language choice.

Example Ouput:

english

{pyro:lang:code}

Returns the language code of the language choice.

Example Output:

en

{pyro:lang:direction}

Returns the language writing direction of the language choice.

Example Output:

ltr