aboutsummaryrefslogtreecommitdiff
path: root/doc/snac.8
diff options
context:
space:
mode:
authorshtrophic <christoph@liebender.dev>2025-03-08 22:29:50 +0100
committershtrophic <christoph@liebender.dev>2025-03-08 22:29:50 +0100
commit398b733b2c0ff4c96f4de9731a864373842e86d6 (patch)
treee2a381ee39d7139cf13c953c5ddad8e59bf8163f /doc/snac.8
parentbeb500360c32ee459201a087dbed57a447b1f0db (diff)
parentecf006811de59b58b3da39f68d8ed4efa7712914 (diff)
Merge remote-tracking branch 'upstream/master' into curl-smtp
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
(default: 20).
.It Ic max_attachments
The maximum number of attachments per post (default: 4).
+.It Ic enable_svg
+Since version 2.73, SVG image attachments are hidden by default; you can enable
+them by setting this value to true.
.El
.Pp
You must restart the server to make effective these changes.
@@ -617,6 +620,32 @@ hashtags.
Please take note that subscribing to relays can increase the traffic towards your instance
significantly. In any case, lowering the "Maximum days to keep posts" value for the relay
special user is recommended (e.g. setting to just 1 day).
+.Ss Web interface language
+Since version 2.73, the web UI can be localized via simple .po files (they are directly
+parsed, no support for gettext is needed).
+.Pp
+No language file is installed by default; the administrator must copy any desired .po files
+to the
+.Pa lang/
+subdirectory in the base directory. Once the server is restarted, users can select the
+new language from the user settings. The
+.Nm
+source distribution may include .po files in the
+.Pa po/
+subdirectory. You don't need to copy the English language one, as it's the default.
+.Pp
+To create new language files, create a copy of
+.Pa po/en.po ,
+rename it to a reasonable value like
+.Pa pl.po
+or
+.Pa pt_BR.po ,
+change the translator in the header to yourself and fill the msgstr strings with your
+translation. If you have any doubt on how to modify .po files, there are many tutorials
+out there. If you want your language file to be included in the standard
+.Nm
+distribution, please send me a link to it via the Fediverse to @grunfink@comam.es
+or make a PR via the Git repository.
.Sh ENVIRONMENT
.Bl -tag -width Ds
.It Ev DEBUG