mod_muc_lang/README.markdown
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Wed, 13 Nov 2019 16:27:50 +0100
changeset 3744 b3fb32bd1f01
parent 3079 4e8b5ea7f4c2
permissions -rw-r--r--
mod_bookmarks2: Use the correct error when failing to retrieve bookmarks2 to reply to Private XML request.

# Introduction

This module adds support for advertising the language used in a room.

# Configuring

``` {.lua}
Component "rooms.example.net" "muc"
modules_enabled = {
    "muc_lang";
}
```

The room language is specified in a new field in the room configuration
dialog, accessible through compatible clients.

Use [language codes](https://en.wikipedia.org/wiki/ISO_639) like `en`,
`fr`, `de` etc.

# Compatibility

Meant for use with Prosody 0.10.x

Native support was [added in Prosody
trunk/0.11](https://hg.prosody.im/trunk/rev/9c90cd2fc4c3), so there is
no need for this module.