Skip to content

Localizer: fixes and re-export

Titouan Soulard requested to merge tsoulard/erp5:for-mr-pig into master

I recently tried to use Localizer. Obviously, this was a bad idea: it went wrong. I opened this MR to include the fixes done. It is mostly bugs, but one important change is to discard empty translations from exported files. We do not want them anyway, and it avoids the extra step of cleaning up the file with tools that are not installed on most machines (msgattrib).

My goals are:

  1. translations can be edited from Localiser without dozens of clicks (as it is supposed to work), and exported from BT5 directly;
  2. on a clean instance with base BT5 from configurator, localisation files export with minimal diffs;
  3. (ideally) people stop editing files manually because the interface just works.

If we have good translations from Nexedi ERP5 that can be upstreamed (there are most likely), I will also include them here, possibly in a separate commit.

Merge request reports