From 5fa7fe52357e02dcfe055ba67b81819636860b52 Mon Sep 17 00:00:00 2001 From: Chteufleur Date: Sun, 20 Nov 2016 17:28:11 +0100 Subject: [PATCH] Add default lang into README. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7620260..053b023 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ XMPP * __xmpp_secret__ : Account password * xmpp_debug : Enable debug log at true (default: false) * xmpp_verify_cert_validity : Enable certificate verification (default: true) + * xmpp_default_lang : Message default languages HTTP * http_port : HTTP port to bind (default: -1, desactive: -1) @@ -48,6 +49,9 @@ __Bold config__ are mandatory. If ``http_bind_address_ipv4`` is set to ``0.0.0.0``, it will bind all address on IPv4 __AND__ IPv6. +The lang messages file must be placed into the same directory than the configuration file. +An example of this file can be found in [the repos](https://git.kingpenguin.tk/chteufleur/HTTPAuthentificationOverXMPP/src/master/messages.lang) + ### Usage To ask authorization, just send an HTTP request to the path ``/auth`` with parameters: * __jid__ : JID of the user (user@host/resource or user@host)