country_name
Retrieves a country name.
Example
1
{{ 'DK' | country_name }} => Denmark
Input
Type | Parameter | Description | Required |
---|---|---|---|
string | countryCode | The code of the country to retrieve the name for. Comes before the | sign. | Required |
string | lang | The language to retrieve the name in, defaults to ‘en’ |
Output
Type | Description |
---|---|
string | The name of the country |