A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
i18n
aichy1263cdd75983f81
diff --git a/internal/controller/template_controller.go b/internal/controller/template_controller.goindex 89a00ff7..61cffcae 100644--- a/internal/controller/template_controller.go+++ b/internal/controller/template_controller.go@@ -321,13 +321,13 @@ func (tc *TemplateController) html(ctx *gin.Context, code int, tpl string, siteIdata["siteinfo"] = siteInfodata["scriptPath"] = tc.scriptPathdata["cssPath"] = tc.cssPath- data["language"] = i18n.LanguageChinese //handler.GetLang(ctx)data["keywords"] = siteInfo.Keywordsif siteInfo.Description == "" {siteInfo.Description = siteInfo.General.Description}data["description"] = siteInfo.Description- data["language"] = handler.GetLang(ctx)+ // data["language"] = handler.GetLang(ctx)+ data["language"] = i18n.LanguageChinese //handler.GetLang(ctx)data["timezone"] = siteInfo.Interface.TimeZonectx.HTML(code, tpl, data)