Thanks, I do understand how i18n works for plugins. I should have asked if there is a way to do this without having to fork or modify the existing plugin. It seems like the answer is no.
Personally, I think this is a lacking feature of NodeBB.
Whenever I install the plugin, it shows PLUGIN UNINSTALLED The plugin has been successfully deactivated and uninstalled. It was not installed earlier and doesn't show in the installed plugin as well. I tried to rebuild and restart quite a few times but doesn't work.
I am using NodeBB v1.16.2
The plugin I am trying to install: nodebb-plugin-whitelist-email-domains
But I face this problem with all the plugins I tried.
@piyush try installing with npm after opening a terminal in your nodebb folder.
npm install nodebb-plugin-whitelist-email-domains
then go to plugin page and activate it, rebuild and restart.