Skip to content

Commit 39e7bf5

Browse files
VKronmardaveearleyLogFlames
authored
Add Swedish localization (#882)
Co-authored-by: Dave Earley <[email protected]> Co-authored-by: Elias Lundell <[email protected]>
1 parent 6df5a89 commit 39e7bf5

File tree

34 files changed

+14590
-3372
lines changed

34 files changed

+14590
-3372
lines changed

backend/app/Locale.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ enum Locale: string
1818
case PT = 'pt';
1919
case PT_BR = 'pt-br';
2020
case ZH_CN = 'zh-cn';
21+
case SE = 'se';
2122

2223
case ZH_HK = 'zh-hk';
2324
case VI = 'vi';

backend/lang/se.json

Lines changed: 494 additions & 0 deletions
Large diffs are not rendered by default.

frontend/lingui.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const config: LinguiConfig = {
1414
"pt", // Portuguese (Portugal)
1515
"vi", // Vietnamese
1616
"tr", // Turkish
17-
17+
"se", // Swedish
1818
"it", // Italian
1919
// "pl", // Polish
2020
// "ja", // Japanese

frontend/src/components/common/LanguageSwitcher/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export const LanguageSwitcher = () => {
3636
return t`Vietnamese`;
3737
case "tr":
3838
return t`Turkish`;
39+
case "se":
40+
return t`Swedish`;
3941
}
4042
};
4143

frontend/src/locales/de.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)