locale_name

Generates the name for the current locale

Specifications

{{ locale | locale_name }}

Parameter Description Example Values
locale (required) The abbreviated locale “zh-CN”

Examples

{{ 'zh-CN' | locale_name }}

This will produce 简体中文, or for the name of the current locale ….

{{ locale | locale_name }}