Mercurial > prosody-modules
annotate mod_muc_lang/README.md @ 6083:ffd0184cd478
mod_compliance_latest: New module that depends on and therefore loads the latest compliance tester mod.
diff --git a/mod_compliance_latest/README.md b/mod_compliance_latest/README.md
new file mode 100644
--- /dev/null
+++ b/mod_compliance_latest/README.md
@@ -0,0 +1,25 @@
+---
+summary: XMPP Compliance Suites self-test
+labels:
+- Stage-Beta
+rockspec:
+ dependencies:
+ - mod_compliance_2023
+...
+
+# Introduction
+
+This module will always require and load to the lastest compliance tester we have in the community modules.
+Currently this is [mod_compliance_2023].
+
+# Configuration
+
+Just load this module as any other module and it will automatically install [mod_compliance_2023] if you use the Prosody plugin installer.
+See the linked module for further details.
+
+# Compatibility
+
+ Prosody-Version Status
+ --------------- ----------------------
+ trunk Works as of 2024-12-22
+ 0.12 Works
diff --git a/mod_compliance_latest/mod_compliance_latest.lua b/mod_compliance_latest/mod_compliance_latest.lua
new file mode 100644
--- /dev/null
+++ b/mod_compliance_latest/mod_compliance_latest.lua
@@ -0,0 +1,1 @@
+module:depends("compliance_2023");
| author | Menel <menel@snikket.de> |
|---|---|
| date | Sun, 22 Dec 2024 18:12:42 +0100 |
| parents | fe081789f7b5 |
| children |
| rev | line source |
|---|---|
| 3075 | 1 # Introduction |
| 2 | |
| 3 This module adds support for advertising the language used in a room. | |
| 4 | |
| 5 # Configuring | |
| 6 | |
| 7 ``` {.lua} | |
| 8 Component "rooms.example.net" "muc" | |
| 9 modules_enabled = { | |
| 10 "muc_lang"; | |
| 11 } | |
| 12 ``` | |
| 13 | |
| 14 The room language is specified in a new field in the room configuration | |
| 15 dialog, accessible through compatible clients. | |
| 16 | |
| 17 Use [language codes](https://en.wikipedia.org/wiki/ISO_639) like `en`, | |
| 18 `fr`, `de` etc. | |
| 19 | |
| 20 # Compatibility | |
| 21 | |
| 22 Meant for use with Prosody 0.10.x | |
| 23 | |
| 24 Native support was [added in Prosody | |
| 25 trunk/0.11](https://hg.prosody.im/trunk/rev/9c90cd2fc4c3), so there is | |
| 26 no need for this module. |
