web: i18n system & navbar translations

dynamic page language and language dropdown!! finally!!
This commit is contained in:
wukko
2024-07-03 00:16:03 +06:00
parent d11874e57f
commit 9939f3b172
19 changed files with 229 additions and 37 deletions

View File

@@ -0,0 +1,3 @@
{
"tabPanel": "tabs panel"
}

7
web/i18n/en/tabs.json Normal file
View File

@@ -0,0 +1,7 @@
{
"save": "save",
"settings": "settings",
"updates": "updates",
"donate": "donate",
"about": "about"
}

4
web/i18n/languages.json Normal file
View File

@@ -0,0 +1,4 @@
{
"en": "english",
"ru": "русский"
}

View File

@@ -0,0 +1,3 @@
{
"tabPanel": "панель вкладок"
}

7
web/i18n/ru/tabs.json Normal file
View File

@@ -0,0 +1,7 @@
{
"save": "скачать",
"settings": "настройки",
"updates": "новости",
"donate": "донаты",
"about": "чаво"
}