Skip to content

Commit

Permalink
i18n: enables hungarian and korean langs
Browse files Browse the repository at this point in the history
  • Loading branch information
sim51 committed Jan 29, 2024
1 parent 555cf38 commit 92dae9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/locales/LOCALES.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import dev from "./dev.json";
import en from "./en.json";
import fr from "./fr.json";
import hu from "./hu.json";
import ko from "./ko.json";

export const LOCALES = {
dev: {
Expand All @@ -15,6 +17,14 @@ export const LOCALES = {
translation: fr,
label: "Français",
},
hu: {
translation: hu,
label: "Magyar",
},
ko: {
translation: ko,
label: "한국인",
},
};

export const DEFAULT_LOCALE = process.env.NODE_ENV !== "production" ? "dev" : "en";

0 comments on commit 92dae9f

Please sign in to comment.