diff --git a/src/node/hooks/i18n.js b/src/node/hooks/i18n.js index 76487fc59..c54348867 100644 --- a/src/node/hooks/i18n.js +++ b/src/node/hooks/i18n.js @@ -41,6 +41,8 @@ const getAllLocales = () => { // add plugins languages (if any) for (const {package: {path: pluginPath}} of Object.values(pluginDefs.plugins)) { + // plugin locales should overwrite etherpad's core locales + if (pluginPath.endsWith('/ep_etherpad-lite') === true) continue; extractLangs(path.join(pluginPath, 'locales')); }