As written in the topic l10n_client deletes all textgroups in the localisation tables. We need to prevent this data loss. I think UI settings (checkboxes) that allows to cleanup specific textgroups only would be a good idea.

Clean up:
x - build-in interface strings
0 - menu translation
0 - block translation
0 - taxonomy translation
0 - string translation

Comments

gábor hojtsy’s picture

Good idea. I'd love to see a patch :)

hass’s picture

Assigned: Unassigned »

I take this job now... patch will follow very soon.

hass’s picture

Status: Active » Needs review
StatusFileSize
new4.38 KB

Patch attached. Needs some testing... especially #2

1. It allows to re-import more than one language
2. Cleans only selected text groups
3. "default" (build-in interface) textgroup is selected by default

hass’s picture

Fixed a minor white space bug.

gábor hojtsy’s picture

Status: Needs review » Fixed

Great, this looks good, so I have committed it as-is. Thanks for your work!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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