summaryrefslogtreecommitdiff
path: root/doc/snac.8
diff options
context:
space:
mode:
Diffstat (limited to 'doc/snac.8')
-rw-r--r--doc/snac.829
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index f1e5590..7594d82 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -264,6 +264,9 @@ The maximum number of entries (posts) to be returned in user RSS feeds and outbo
264(default: 20). 264(default: 20).
265.It Ic max_attachments 265.It Ic max_attachments
266The maximum number of attachments per post (default: 4). 266The maximum number of attachments per post (default: 4).
267.It Ic enable_svg
268Since version 2.73, SVG image attachments are hidden by default; you can enable
269them by setting this value to true.
267.El 270.El
268.Pp 271.Pp
269You must restart the server to make effective these changes. 272You must restart the server to make effective these changes.
@@ -617,6 +620,32 @@ hashtags.
617Please take note that subscribing to relays can increase the traffic towards your instance 620Please take note that subscribing to relays can increase the traffic towards your instance
618significantly. In any case, lowering the "Maximum days to keep posts" value for the relay 621significantly. In any case, lowering the "Maximum days to keep posts" value for the relay
619special user is recommended (e.g. setting to just 1 day). 622special user is recommended (e.g. setting to just 1 day).
623.Ss Web interface language
624Since version 2.73, the web UI can be localized via simple .po files (they are directly
625parsed, no support for gettext is needed).
626.Pp
627No language file is installed by default; the administrator must copy any desired .po files
628to the
629.Pa lang/
630subdirectory in the base directory. Once the server is restarted, users can select the
631new language from the user settings. The
632.Nm
633source distribution may include .po files in the
634.Pa po/
635subdirectory. You don't need to copy the English language one, as it's the default.
636.Pp
637To create new language files, create a copy of
638.Pa po/en.po ,
639rename it to a reasonable value like
640.Pa pl.po
641or
642.Pa pt_BR.po ,
643change the translator in the header to yourself and fill the msgstr strings with your
644translation. If you have any doubt on how to modify .po files, there are many tutorials
645out there. If you want your language file to be included in the standard
646.Nm
647distribution, please send me a link to it via the Fediverse to @grunfink@comam.es
648or make a PR via the Git repository.
620.Sh ENVIRONMENT 649.Sh ENVIRONMENT
621.Bl -tag -width Ds 650.Bl -tag -width Ds
622.It Ev DEBUG 651.It Ev DEBUG