Add dropdown for language of Article
And a configuration with the available Deepl source and target languages.
This commit is contained in:
@ -10,6 +10,69 @@ import Config
|
||||
config :outlook,
|
||||
ecto_repos: [Outlook.Repo]
|
||||
|
||||
config :outlook, :deepl,
|
||||
source_langs: [
|
||||
{"English", "EN"},
|
||||
{"Russian", "RU"},
|
||||
{"German", "DE"},
|
||||
{"Spanish", "ES"},
|
||||
{"Bulgarian", "BG"},
|
||||
{"Czech", "CS"},
|
||||
{"Danish", "DA"},
|
||||
{"Greek", "EL"},
|
||||
{"Estonian", "ET"},
|
||||
{"Finnish", "FI"},
|
||||
{"French", "FR"},
|
||||
{"Hungarian", "HU"},
|
||||
{"Indonesian", "ID"},
|
||||
{"Italian", "IT"},
|
||||
{"Japanese", "JA"},
|
||||
{"Lithuanian", "LT"},
|
||||
{"Latvian", "LV"},
|
||||
{"Dutch", "NL"},
|
||||
{"Polish", "PL"},
|
||||
{"Portuguese", "PT"},
|
||||
{"Romanian", "RO"},
|
||||
{"Slovak", "SK"},
|
||||
{"Slovenian", "SL"},
|
||||
{"Swedish", "SV"},
|
||||
{"Turkish", "TR"},
|
||||
{"Ukrainian", "UK"},
|
||||
{"Chinese", "ZH"}
|
||||
],
|
||||
target_langs: [
|
||||
{"German", "DE"},
|
||||
{"English British", "EN-GB"},
|
||||
{"English American", "EN-US"},
|
||||
{"Bulgarian", "BG"},
|
||||
{"Czech", "CS"},
|
||||
{"Danish", "DA"},
|
||||
{"Greek", "EL"},
|
||||
{"Spanish", "ES"},
|
||||
{"Estonian", "ET"},
|
||||
{"Finnish", "FI"},
|
||||
{"French", "FR"},
|
||||
{"Hungarian", "HU"},
|
||||
{"Indonesian", "ID"},
|
||||
{"Italian", "IT"},
|
||||
{"Japanese", "JA"},
|
||||
{"Lithuanian", "LT"},
|
||||
{"Latvian", "LV"},
|
||||
{"Dutch", "NL"},
|
||||
{"Polish", "PL"},
|
||||
{"Portuguese Brazilian", "PT-BR"},
|
||||
{"Portuguese International", "PT-PT"},
|
||||
{"Romanian", "RO"},
|
||||
{"Russian", "RU"},
|
||||
{"Slovak", "SK"},
|
||||
{"Slovenian", "SL"},
|
||||
{"Swedish", "SV"},
|
||||
{"Turkish", "TR"},
|
||||
{"Ukrainian", "UK"},
|
||||
{"Chinese", "ZH"}
|
||||
]
|
||||
|
||||
|
||||
# Configures the endpoint
|
||||
config :outlook, OutlookWeb.Endpoint,
|
||||
url: [host: "localhost"],
|
||||
|
||||
Reference in New Issue
Block a user