mongoose-intl
JSON →Mongoose schema plugin for multilingual (i18n) fields, version 3.3.0. This plugin allows you to define string fields that store translations in multiple languages as a subdocument, while presenting them as virtual string properties. It supports Mongoose versions 4, 5, and 6 via peer dependencies. Languages are configured via an option array, with optional default language and fallback behavior. The plugin is lightweight and specific to Mongoose, offering a simple API for reading and writing translations using standard get/set methods. Alternative packages like mongoose-i18n or mongoose-multilingual exist, but mongoose-intl is one of the oldest and most used plugins for this purpose.
Resources
packagemongoose-intl ↗