From 46433cbd6f4fca70a21a2ad295e3ea10b2c8ed89 Mon Sep 17 00:00:00 2001 From: Gabriel Horner Date: Tue, 10 Jan 2023 16:02:29 -0500 Subject: [PATCH] Fix query tables failing on published apps Fix #7332, fix #8211 --- src/main/frontend/publishing.cljs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/frontend/publishing.cljs b/src/main/frontend/publishing.cljs index e47b49bac4..fe2412b03e 100644 --- a/src/main/frontend/publishing.cljs +++ b/src/main/frontend/publishing.cljs @@ -9,6 +9,7 @@ [frontend.page :as page] [frontend.util :as util] [frontend.routes :as routes] + [frontend.context.i18n :as i18n] [reitit.frontend :as rf] [reitit.frontend.easy :as rfe] [cljs.reader :as reader] @@ -79,6 +80,8 @@ ;; this is called in the index.html and must be exported ;; so it is available even in :advanced release builds (register-components-fns!) + ;; Set :preferred-lang as some components depend on it + (i18n/start) (restore-from-transit-str!) (restore-state!) (shortcut/refresh!)