plugins icon indicating copy to clipboard operation
plugins copied to clipboard

Needs a translation framework

Open ralsina opened this issue 12 years ago • 3 comments

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)

ralsina avatar Oct 08 '13 12:10 ralsina

How would it work? Would we put those on Transifex?

Kwpolska avatar Oct 08 '13 12:10 Kwpolska

Why not have per-plugin resources instead of one global resource?

Kwpolska avatar Oct 08 '13 12:10 Kwpolska

Because per-plugin resources mean a lot more transifex work for translators.

ralsina avatar Oct 08 '13 13:10 ralsina