Add internationalization support with astro-i18next integration

- Implemented astro-i18next for multi-language support, including English, Dutch, and Italian.
- Configured default locale and language fallback settings.
- Defined routes for localized content in the configuration.
- Updated package.json and package-lock.json to include new dependencies for i18next and related plugins.
This commit is contained in:
becarta
2025-05-23 15:10:00 +02:00
parent 8a3507dce0
commit 3168826fa8
581 changed files with 88691 additions and 494 deletions

24
node_modules/@proload/plugin-tsm/test/index.mjs generated vendored Normal file
View File

@@ -0,0 +1,24 @@
import { test } from 'uvu';
import { is, type } from 'uvu/assert';
import { resolve } from 'path';
import load from '@proload/core';
import typescript from '@proload/plugin-tsm';
test.before(() => {
load.use([typescript]);
})
test('sanity', () => {
type(typescript, 'object');
})
const fixtures = ['ts', 'ts-config', 'cts', 'mts'];
for (const fixture of fixtures) {
test(fixture, async () => {
let mdl = await load('test', { cwd: resolve(`fixtures/${fixture}`) });
is(mdl.value.value, fixture)
});
}
test.run();