Implement multilingual support with Dutch and English translations across the application

This commit is contained in:
Alvin
2025-11-04 11:35:45 +01:00
parent 278e9353f9
commit 1d5b007577
9 changed files with 540 additions and 52 deletions

View File

@@ -2,12 +2,24 @@ const mongoose = require('mongoose');
const itemSchema = new mongoose.Schema({
name: {
type: String,
required: true
en: {
type: String,
required: true
},
nl: {
type: String,
required: true
}
},
description: {
type: String,
default: ''
en: {
type: String,
default: ''
},
nl: {
type: String,
default: ''
}
},
location: {
type: String,