Skip to content

Commit

Permalink
Add Polish language
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjoberg committed Jul 23, 2024
1 parent 094eec2 commit 5bcdb43
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/i18n/i18n.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ export const languages: ILanguages = {
id: "no",
name: "Norsk",
},
pl: {
id: "pl",
name: "Polski",
},
pt: {
id: "pt",
name: "Português",
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import fr from "./fr";
import ko from "./ko";
import nl from "./nl";
import no from "./no";
import pl from "./pl";
import tlh from "./tlh";
import ro from "./ro";
import sv from "./sv";
Expand Down Expand Up @@ -53,6 +54,7 @@ const createI18n = (language: string): i18nInstance => {
ko,
nl,
no,
pl,
tlh,
ro,
sv,
Expand Down
4 changes: 4 additions & 0 deletions src/i18n/pl.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { Resource } from "i18next";
import t from "../../locales/pl.json";

export default t as Resource;

0 comments on commit 5bcdb43

Please sign in to comment.