diff --git a/model/post.go b/model/post.go
index e0c13c9..3a264ce 100644
--- a/model/post.go
+++ b/model/post.go
@@ -19,4 +19,5 @@ type ReplyContext struct {
ReplySpoiler string
ReplyContent string
ForceVisibility bool
+ ReplyLanguage string
}
diff --git a/service/service.go b/service/service.go
index 8215c6a..463edf7 100644
--- a/service/service.go
+++ b/service/service.go
@@ -362,6 +362,8 @@ func (s *service) ThreadPage(c *client, id string, reply bool) (err error) {
visibility = c.s.Settings.DefaultVisibility
}
+ replyLanguage := status.Language
+
pctx = model.PostContext{
DefaultVisibility: visibility,
DefaultFormat: c.s.Settings.DefaultFormat,
@@ -372,6 +374,7 @@ func (s *service) ThreadPage(c *client, id string, reply bool) (err error) {
ReplySpoiler: spoilerText,
ReplyContent: content,
ForceVisibility: isDirect,
+ ReplyLanguage: replyLanguage,
},
}
}
diff --git a/templates/postform.tmpl b/templates/postform.tmpl
index 964032b..6b49f6c 100644
--- a/templates/postform.tmpl
+++ b/templates/postform.tmpl
@@ -48,7 +48,7 @@
-
+