Node.js based forum software built for the modern web
fixes #5927
Julian Lam211482bbc0f5
diff --git a/public/src/app.js b/public/src/app.jsindex 913360c615..d6acad4554 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -439,6 +439,9 @@ app.cacheBuster = null;.replace('{pageTitle}', function () { return title; }).replace('{browserTitle}', function () { return config.browserTitle; });+ // Allow translation strings in title on ajaxify (#5927)+ title = title.replace(/[/g, '[').replace(/]/g, ']');+translator.translate(title, function (translated) {titleObj.titles[0] = translated;app.alternatingTitle('');