# translated\_texts

Source: https://zotonic.com/docs/2512/translated_texts

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

Language: en



Check all properties of a map, list or resource. Returns a list of all properties that are translated (have a `#trans{}` record) and their translations.

For example, if the input is a resource with the following properties:

```erlang
#{
    <<"title">> => #trans{tr = [{en, <<"Hello">>}, {nl, <<"Hallo">>}]},
    <<"description">> => <<"A description">>
}
```

Then the output will be:

```erlang
[
    {<<"title">>, #trans{tr = [{en, <<"Hello">>}, {nl, <<"Hallo">>}]} }
]
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2512?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/2512?language=en>)
