Add Russian language to apps (#1257)

This commit is contained in:
Leendert de Borst
2025-09-20 10:08:38 +02:00
parent 8458a8cd19
commit 4875c50c90
7 changed files with 17 additions and 1 deletions
+10
View File
@@ -9,6 +9,7 @@ import fiTranslations from './locales/fi.json';
import heTranslations from './locales/he.json';
import itTranslations from './locales/it.json';
import nlTranslations from './locales/nl.json';
import ruTranslations from './locales/ru.json';
import ukTranslations from './locales/uk.json';
import zhTranslations from './locales/zh.json';
@@ -35,6 +36,9 @@ export const LANGUAGE_RESOURCES = {
nl: {
translation: nlTranslations
},
ru: {
translation: ruTranslations
},
uk: {
translation: ukTranslations
},
@@ -84,6 +88,12 @@ export const AVAILABLE_LANGUAGES: ILanguageConfig[] = [
nativeName: 'Nederlands',
flag: '🇳🇱'
},
{
code: 'ru',
name: 'Russian',
nativeName: 'Русский',
flag: '🇷🇺'
},
{
code: 'uk',
name: 'Ukrainian',
@@ -6,6 +6,7 @@
<locale android:name="he" />
<locale android:name="it" />
<locale android:name="nl" />
<locale android:name="ru" />
<locale android:name="uk" />
<locale android:name="zh" />
</locale-config>
+2
View File
@@ -8,6 +8,7 @@ import fi from './locales/fi.json';
import he from './locales/he.json';
import it from './locales/it.json';
import nl from './locales/nl.json';
import ru from './locales/ru.json';
import uk from './locales/uk.json';
import zh from './locales/zh.json';
@@ -18,6 +19,7 @@ const resources = {
he: { translation: he },
nl: { translation: nl },
it: { translation: it },
ru: { translation: ru },
uk: { translation: uk },
zh: { translation: zh },
};
@@ -28,6 +28,7 @@
<string>it</string>
<string>nl</string>
<string>uk</string>
<string>ru</string>
<string>zh</string>
</array>
<key>CFBundleName</key>
+1
View File
@@ -10,6 +10,7 @@
<string>he</string>
<string>it</string>
<string>nl</string>
<string>ru</string>
<string>uk</string>
<string>zh</string>
</array>
@@ -36,11 +36,11 @@ public class LanguageService(
new LanguageConfig("he", "עברית", "🇮🇱"),
new LanguageConfig("it", "Italiano", "🇮🇹"),
new LanguageConfig("nl", "Nederlands", "🇳🇱"),
new LanguageConfig("ru", "Русский", "🇷🇺"),
new LanguageConfig("uk", "Українська", "🇺🇦"),
new LanguageConfig("zh", "简体中文", "🇨🇳"),
// Add new languages here:
// new LanguageConfig("ru", "Русский", "🇷🇺"),
// new LanguageConfig("fr", "Français", "🇫🇷"),
// new LanguageConfig("es", "Español", "🇪🇸"),
};
+1
View File
@@ -15,6 +15,7 @@ AliasVault supports multiple languages across all applications. Currently suppor
- Finnish
- Hebrew
- Italian
- Russian
- Ukrainian
- Chinese (Simplified)