# content\_type\_label

Source: https://zotonic.com/docs/1905/content_type_label

URI: https://zotonic.com/id/1905

Language: en



Return a translated, human-readable label for a MIME content type.

Known types have descriptive labels such as `JSON`, `Excel Workbook`, and `iCalendar`. Other types are represented by their uppercase file extension. The input can be a MIME type string or a parsed Cowboy media-type tuple.

For example:

```django
{{ "application/json"|content_type_label }}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1905?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1905?language=en>)
