From ae2a713f26fd58f397aaf93242f24c85dee98a2b Mon Sep 17 00:00:00 2001
From: Aqua-sama <aqua@iserlohn-fortress.net>
Date: Wed, 3 Oct 2018 16:48:26 +0200
Subject: Convert documentation into asciidoc from markdown

---
 doc/Development/Translating.asciidoc | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 doc/Development/Translating.asciidoc

(limited to 'doc/Development/Translating.asciidoc')

diff --git a/doc/Development/Translating.asciidoc b/doc/Development/Translating.asciidoc
new file mode 100644
index 0000000..f79fa56
--- /dev/null
+++ b/doc/Development/Translating.asciidoc
@@ -0,0 +1,16 @@
+== Translating
+[code, sh]
+----
+# generating translations
+lupdate src/ lib/ -ts lang/<lang-id>.ts
+
+# updating translations
+lupdate src/ lib/ -no-obsolete -ts lang/<lang-id>.ts
+
+# generate lang/<lang-id>.qm
+lrelease lang/<land-id>.ts
+----
+
+=== Using translations
+  --browser.locale        # set Qt translation; ex. de
+  --browser.translation   # set translation file; ex. /home/user/.config/smolbote/lang/custom-translate.qm
-- 
cgit v1.2.1

