aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/translations
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/translations')
-rw-r--r--src/lib/translations/index.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/translations/index.js b/src/lib/translations/index.js
index ae2fcedf..cd7c20dd 100644
--- a/src/lib/translations/index.js
+++ b/src/lib/translations/index.js
@@ -1,17 +1,9 @@
import i18n from "sveltekit-i18n";
-import lang from "./lang.json";
-
-const availableLocales = Object.keys(lang);
-const trans = {};
-for (let i = 0; i < availableLocales.length; i++) {
- trans[availableLocales[i]] = { lang };
-}
export const defaultLocale = "en";
const config = {
fallbackLocale: "en",
- translations: trans,
loaders: [
{
locale: "en",