plugins
plugins copied to clipboard
Needs a translation framework
So, I'll add one.
My idea is:
- [x] Setup a resource in transifex
- [ ] Update the en.po file via string extraction so it's automatic
- [ ] Add the translation modules to each zip file (since they are tiny)
- [ ] Use a relative import in the plugins to access the messages
Things that could be done differently:
- Could use gettext everywhere but it's sort of a pain
- Could separate per-plugin resources but then we need to setup a resource for each plugin (and adding resources in transifex is annoying because you need a .po file already)
How would it work? Would we put those on Transifex?
Why not have per-plugin resources instead of one global resource?
Because per-plugin resources mean a lot more transifex work for translators.