mirror of
https://github.com/penpot/penpot.git
synced 2025-05-13 06:26:38 +02:00
♻️ Refactor translations subsystem.
Migrate from plain json files to gettext.
This commit is contained in:
parent
b9ca4e7f9b
commit
4cca8f0600
13 changed files with 13827 additions and 6614 deletions
|
@ -7,14 +7,14 @@
|
|||
(ns app.util.i18n
|
||||
"A i18n foundation."
|
||||
(:require
|
||||
[app.config :as cfg]
|
||||
[app.util.storage :refer [storage]]
|
||||
[app.util.transit :as t]
|
||||
[beicon.core :as rx]
|
||||
[cuerdas.core :as str]
|
||||
[goog.object :as gobj]
|
||||
[okulary.core :as l]
|
||||
[rumext.alpha :as mf]
|
||||
[app.config :as cfg]
|
||||
[app.util.storage :refer [storage]]
|
||||
[app.util.transit :as t]))
|
||||
[rumext.alpha :as mf]))
|
||||
|
||||
(def supported-locales
|
||||
[{:label "English" :value "en"}
|
||||
|
@ -23,6 +23,7 @@
|
|||
{:label "Deutsch (community)" :value "de"}
|
||||
{:label "Русский (community)" :value "ru"}
|
||||
{:label "Türkçe (community)" :value "tr"}
|
||||
{:label "Ελληνική γλώσσα (community)" :value "gr"}
|
||||
{:label "简体中文 (community)" :value "zh_cn"}])
|
||||
|
||||
(defn- parse-locale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue