@julian found the issue and created a PR here https://github.com/NodeBB/nodebb-package-manager/pull/22
Thank you for sharing the repo 🙂
What the best approach to handle "Plugins" specific languages and translation?
Say i have a plugin, and i would like its "templates" (or JS) to use the translator, however, the keys are plugin-specific, for example:
"Wrong Captcha"
Is there a way to extend these files and report back to Transifex? or maybe should we just have a
language/:language_code/plugins/:nodebb-plugin-:id.json?
language/:language_code/themes/:nodebb-theme-:id.json?
maybe generate this list of file automatically using npm API, kinda how you do for the ACP > Plugins tab?
or could we do this the other way around? give each plugin the ability to extend the Translator's data, or feed it a language file? but how does that play with transifex? each plugin would need its own project right?
I don't think it's a high priority issue, just something to think about.
thanks
hey I just committed something like this a few days ago: https://github.com/NodeBB/NodeBB/issues/1865 let me know if that's what you're looking for
EDIT:
each plugin would need its own project right?
and yeah, ideally
awesome! thanks