@@ -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 {
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user