# is\_rtl

Source: https://zotonic.com/docs/1963/is_rtl

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

Language: en



Check if the given language is a rtl or ltr language.

Example:

```django
{% if z_language|is_rtl %}
    You are browsing in an RTL language
{% endif %}
```

It currently returns `true` only for Arabic (`ar`), Farsi (`fa`) and Hebrew (`he`).

License: 

Attribution: 

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