Skip to Content

Locale

The locale object describes language and regional settings, including code and name.

{%- comment -%} Show the current locale {%- endcomment -%} <p>{{ locale.name }} ({{ locale.iso_code }})</p>

endonym_name

Returns the endonym name for this locale.

iso_code

Returns the iso code for this locale.

name

Returns the name.