mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-21 18:28:27 -05:00
Add missing language variables
Co-authored-by: Michael Barz <mbarz@owncloud.com> Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
committed by
Michael Barz
parent
0ce6a01874
commit
c3ae99dea2
@@ -152,9 +152,14 @@ func (s *Service) OpenInApp(
|
||||
return "", err
|
||||
}
|
||||
|
||||
lang := utils.ReadPlainFromOpaque(req.GetOpaque(), "lang")
|
||||
|
||||
q := u.Query()
|
||||
q.Add("WOPISrc", wopiSrcURL.String())
|
||||
q.Add("dchat", "1")
|
||||
q.Add("ui", lang) // OnlyOffice
|
||||
q.Add("lang", lang) // Collabora, Impact on the default document language of OnlyOffice
|
||||
q.Add("UI_LLCC", lang) // Office365
|
||||
qs := q.Encode()
|
||||
u.RawQuery = qs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user