forked from open-webui/open-webui
feat: Get available languages from json file
This commit is contained in:
parent
41378748b8
commit
f4a1885298
8 changed files with 30 additions and 6 deletions
22
src/lib/i18n/locales/languages.json
Normal file
22
src/lib/i18n/locales/languages.json
Normal file
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
{
|
||||
"title": "English",
|
||||
"code": "en-US"
|
||||
},
|
||||
{
|
||||
"title": "فارسی",
|
||||
"code": "fa"
|
||||
},
|
||||
{
|
||||
"title": "Deutsch",
|
||||
"code": "de"
|
||||
},
|
||||
{
|
||||
"title": "French",
|
||||
"code": "fr"
|
||||
},
|
||||
{
|
||||
"title": "Ukrainian",
|
||||
"code": "uk"
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue