Add en locale
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2026-03-10 08:49:22 +01:00
parent 587f0f5405
commit f612b15b06
2 changed files with 8 additions and 2 deletions

View File

@@ -1,7 +1,10 @@
import type { AstroIntegration } from "astro"; import type { AstroIntegration } from "astro";
import { mkdir, access, constants, copyFile, rename } from "node:fs/promises"; import { mkdir, access, constants, copyFile, rename } from "node:fs/promises";
const locales = ["en"]; const locales = [
"en",
"de",
];
export default function configureI18n(): AstroIntegration { export default function configureI18n(): AstroIntegration {
return { return {

View File

@@ -19,7 +19,10 @@
import {l as proxyL} from "astro-i18n"; import {l as proxyL} from "astro-i18n";
const locales = ["de"]; const locales = [
"en",
"de",
];
export const l = (route: string) => { export const l = (route: string) => {
const transPath = proxyL(route); const transPath = proxyL(route);