mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 13:38:30 +02:00
🎉 Add browser language detection.
This commit is contained in:
parent
344a7dfbaa
commit
299b29b66f
6 changed files with 102 additions and 59 deletions
|
@ -99,6 +99,10 @@
|
|||
(mf/unmount (dom/get-element "modal"))
|
||||
(init-ui))
|
||||
|
||||
(add-watch i18n/locale "locale" (fn [_ _ o v]
|
||||
(when (not= o v)
|
||||
(reinit))))
|
||||
|
||||
(defn ^:dev/after-load after-load
|
||||
[]
|
||||
(reinit))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue