# observe\_language\_detect/2

Source: https://zotonic.com/docs/2405/observe_language_detect-2

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

Language: en



Try to detect the language of a translation. Set is\_editable\_only to false to detect any language, even if the language is not enabled for the site. Return atom() \| undefined.

Type:

[first](/id/doc_developerguide_notifications#notification-first)

Return:

`#language_detect{}` properties:

- text: `binary`
- is\_editable\_only: `boolean`

License: 

Attribution: 

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