This patch adds overriding of the core locale import batches happening in module/theme install and language addition. It imports the files in batches like with the .po file upload, so files of any size can be handled. I DID NOT test this with the installer (whihc uses the same batch), although theoretically it should work just as well.

Next up is #912252: Build reusable API, add hooks for modules, etc.. for gettextAPI, so l10n_client can reuse our API function (just like l10n_update and friends will).

Comments

gábor hojtsy’s picture

StatusFileSize
new216.37 KB
new197.84 KB

This is how it looks. I think the messages (and the number and content of them) are still pretty much debatable.

When you add a new language:

When you enable a couple modules:

gábor hojtsy’s picture

(Note that for any reasonable .po file, you'll not get any of the warnings or errors, just the green messages. I've included them for demonstration - put errors into my .po files purposefully).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.