Skip to content

Commit

Permalink
chore: remove german locale
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstadler committed Nov 7, 2024
1 parent 77b3769 commit d3de87f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 84 deletions.
6 changes: 1 addition & 5 deletions config/i18n.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import type { LocalePrefix } from "next-intl/routing";

import type metadataDe from "@/content/de/metadata/index.json";
import type metadataEn from "@/content/en/metadata/index.json";
import type de from "@/messages/de.json";
import type en from "@/messages/en.json";

export const locales = ["de", "en"] as const;
export const locales = ["en"] as const;

export type Locale = (typeof locales)[number];

Expand All @@ -19,11 +17,9 @@ export const localePrefix = {
mode: "always",
prefixes: {
en: "/en",
de: "/de",
},
} satisfies LocalePrefix<typeof locales>;

export interface Translations extends Record<Locale, IntlMessages> {
de: typeof de & { metadata: typeof metadataDe };
en: typeof en & { metadata: typeof metadataEn };
}
13 changes: 0 additions & 13 deletions content/de/metadata/index.json

This file was deleted.

66 changes: 0 additions & 66 deletions messages/de.json

This file was deleted.

0 comments on commit d3de87f

Please sign in to comment.