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:
- Do I submit that to the NodeBB core language files?
Is there a way to extend these files and report back to Transifex? or maybe should we just have a
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.