Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Add Swedish language option to all apps (#1653)

Leendert de Borst5d7af1d1232b
diff --git a/apps/browser-extension/src/i18n/config.ts b/apps/browser-extension/src/i18n/config.ts
index 0f331eaab..3299a63d9 100644
--- a/apps/browser-extension/src/i18n/config.ts
+++ b/apps/browser-extension/src/i18n/config.ts
@@ -15,6 +15,7 @@ import plTranslations from './locales/pl.json';
import ptTranslations from './locales/pt.json';
import roTranslations from './locales/ro.json';
import ruTranslations from './locales/ru.json';
+import svTranslations from './locales/sv.json';
import ukTranslations from './locales/uk.json';
import zhTranslations from './locales/zh.json';
@@ -59,6 +60,9 @@ export const LANGUAGE_RESOURCES = {
ru: {
translation: ruTranslations
},
+ sv: {
+ translation: svTranslations
+ },
uk: {
translation: ukTranslations
},
@@ -144,6 +148,12 @@ export const AVAILABLE_LANGUAGES: ILanguageConfig[] = [
nativeName: 'Русский',
flag: '🇷🇺'
},
+ {
+ code: 'sv',
+ name: 'Swedish',
+ nativeName: 'Svenska',
+ flag: '🇸🇪'
+ },
{
code: 'uk',
name: 'Ukrainian',
@@ -263,4 +273,4 @@ export function getNestedValue(obj: Record<string, unknown>, path: string): unkn
? (current as Record<string, unknown>)[key]
: undefined;
}, obj);
-}
\ No newline at end of file
+}
diff --git a/apps/mobile-app/android/app/src/main/res/xml/locales_config.xml b/apps/mobile-app/android/app/src/main/res/xml/locales_config.xml
index 34cdaf2b3..c0e7d398e 100644
--- a/apps/mobile-app/android/app/src/main/res/xml/locales_config.xml
+++ b/apps/mobile-app/android/app/src/main/res/xml/locales_config.xml
@@ -12,6 +12,7 @@
<locale android:name="pt" />
<locale android:name="ro" />
<locale android:name="ru" />
+ <locale android:name="sv" />
<locale android:name="uk" />
<locale android:name="zh" />
</locale-config>
diff --git a/apps/mobile-app/i18n/index.ts b/apps/mobile-app/i18n/index.ts
index 2793d0979..82e587154 100644
--- a/apps/mobile-app/i18n/index.ts
+++ b/apps/mobile-app/i18n/index.ts
@@ -14,6 +14,7 @@ import pl from './locales/pl.json';
import pt from './locales/pt.json';
import ro from './locales/ro.json';
import ru from './locales/ru.json';
+import sv from './locales/sv.json';
import uk from './locales/uk.json';
import zh from './locales/zh.json';
@@ -30,6 +31,7 @@ const resources = {
pt: { translation: pt },
ro: { translation: ro },
ru: { translation: ru },
+ sv: { translation: sv },
uk: { translation: uk },
zh: { translation: zh },
};
@@ -60,4 +62,4 @@ const initI18n = async (): Promise<void> => {
};
export { initI18n };
-export default i18n;
\ No newline at end of file
+export default i18n;
diff --git a/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj b/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj
index 9e22614ed..c2179a1ea 100644
--- a/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj
+++ b/apps/mobile-app/ios/AliasVault.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 70;
+ objectVersion = 60;
objects = {
/* Begin PBXBuildFile section */
@@ -906,9 +906,7 @@
Base,
de,
en,
- es,
fi,
- fr,
he,
nl,
it,
diff --git a/apps/mobile-app/ios/AliasVault/Info.plist b/apps/mobile-app/ios/AliasVault/Info.plist
index 5b3104b6b..bff41fbf2 100644
--- a/apps/mobile-app/ios/AliasVault/Info.plist
+++ b/apps/mobile-app/ios/AliasVault/Info.plist
@@ -34,6 +34,7 @@
<string>ro</string>
<string>uk</string>
<string>ru</string>
+ <string>sv</string>
<string>zh</string>
</array>
<key>CFBundleName</key>
diff --git a/apps/mobile-app/ios/Autofill/Info.plist b/apps/mobile-app/ios/Autofill/Info.plist
index c1d89d11b..2918d620e 100644
--- a/apps/mobile-app/ios/Autofill/Info.plist
+++ b/apps/mobile-app/ios/Autofill/Info.plist
@@ -16,6 +16,7 @@
<string>pt</string>
<string>ro</string>
<string>ru</string>
+ <string>sv</string>
<string>uk</string>
<string>zh</string>
</array>
diff --git a/apps/server/AliasVault.Client/Services/LanguageService.cs b/apps/server/AliasVault.Client/Services/LanguageService.cs
index e9ff3e3e9..75d56d770 100644
--- a/apps/server/AliasVault.Client/Services/LanguageService.cs
+++ b/apps/server/AliasVault.Client/Services/LanguageService.cs
@@ -40,6 +40,7 @@ public class LanguageService(
new LanguageConfig("pt", "Português Brasileiro", "🇧🇷"),
new LanguageConfig("ro", "Română", "🇷🇴"),
new LanguageConfig("ru", "Русский", "🇷🇺"),
+ new LanguageConfig("sv", "Svenska", "🇸🇪"),
new LanguageConfig("uk", "Українська", "🇺🇦"),
new LanguageConfig("zh", "简体中文", "🇨🇳"),