"name": {
"en": "...",
"fr": "...",
"es": "..."
},
"category": {
"en": "...",
"fr": "...",
"es": "..."
},
"subcategory": {
"en": "...",
"fr": "...",
"es": "..."
}
This structure may also make the schema more scalable as the number of translatable fields grows.
I’d like to suggest switching to a field-based localization structure instead:
Advantages
This structure may also make the schema more scalable as the number of translatable fields grows.