- 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.
5 lines
124 B
JavaScript
5 lines
124 B
JavaScript
export default (filename) => {
|
|
if (filename.indexOf('.') < 0) return undefined
|
|
return `.${filename.split('.').pop()}`
|
|
}
|