From c962afbe19e366ac0e72bdfb31eaecdc77e10395 Mon Sep 17 00:00:00 2001 From: Ruben Barkow Date: Mon, 28 Nov 2016 22:20:39 +0100 Subject: [PATCH] DOCS site: hint to change default texts in PO file --- docs/user/site.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/user/site.rst b/docs/user/site.rst index 43e16d89..b132fae0 100644 --- a/docs/user/site.rst +++ b/docs/user/site.rst @@ -367,6 +367,11 @@ gluon-config-mode:pubkey gluon-config-mode:reboot General information shown on the reboot page. +But you can also change any of the default texts by adding the blocks to your PO files, for example:: + + msgid "Altitude" + msgstr "Höhe (3m pro Stock)" + There is a POT file in the site example directory which can be used to create templates for the language files. The command ``msginit -l en -i ../../docs/site-example/i18n/gluon-site.pot`` can be used from the ``i18n`` directory to create an initial PO file called ``en.po`` if the ``gettext``