view mod_muc_lang/README.md @ 6526:1216f6befbe7

mod_auth_oauth_external: Raise error when configured without at least one endpoint Module does not work if both are unset.
author Kim Alvefur <zash@zash.se>
date Sat, 02 May 2026 16:13:35 +0200
parents fe081789f7b5
children
line wrap: on
line source

# 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.