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:
9
node_modules/@proload/plugin-tsm/lib/index.cjs
generated
vendored
Normal file
9
node_modules/@proload/plugin-tsm/lib/index.cjs
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
name: '@proload/plugin-tsm',
|
||||
extensions: ['ts', 'tsx', 'cts', 'mts'],
|
||||
async register(fileName) {
|
||||
if (/\.([cm]ts|tsx?)$/.test(fileName)) {
|
||||
require('tsm');
|
||||
}
|
||||
}
|
||||
}
|
5
node_modules/@proload/plugin-tsm/lib/index.d.ts
generated
vendored
Normal file
5
node_modules/@proload/plugin-tsm/lib/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Plugin } from '@proload/core';
|
||||
|
||||
declare const typescriptPlugin: Plugin;
|
||||
|
||||
export default typescriptPlugin;
|
2
node_modules/@proload/plugin-tsm/lib/index.mjs
generated
vendored
Normal file
2
node_modules/@proload/plugin-tsm/lib/index.mjs
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import plugin from './index.cjs';
|
||||
export default plugin;
|
Reference in New Issue
Block a user