Lang Plugin
The lang plugin allows access to the language settings for the current logged in user. If no user is logged in, the default site language is used.
lang:name
{{ lang:name }}
Returns the full name of the current language.
Example Output:
'English'
lang:folder
{{ lang:folder }}
Returns the folder anme of the current language.
Example Output:
'english'
lang:code
Returns the language code of the current language.
{{ lang:code }}
Example Output:
'en'
lang:direction
Returns the language direction of the current language.
{{ lang:direction }}
Example:
'ltr'
