Skip to content

Commit

Permalink
Make it possible for beta and release version to change the language …
Browse files Browse the repository at this point in the history
…of the webclient

Signed-off-by: Marcel Goerentz <m.goerentz@t-online.de>
  • Loading branch information
marcelGoerentz committed Jan 13, 2025
1 parent af6da25 commit d0d5007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ func Web(w http.ResponseWriter, r *http.Request) {

} else {

var languageFile = fmt.Sprintf("%slang/en.json", webBasePath)
var languageFile = fmt.Sprintf("%slang/%s.json", webBasePath, Settings.WebClientLanguage)

if value, ok := webUI[languageFile].(string); ok {
content = string(GetHTMLString(value))
Expand Down

0 comments on commit d0d5007

Please sign in to comment.