Hi,
I've my own de.po file in which I also replace some not so good translations of some modules. I sued to import that file manually and chose "replace existing strings".

Now when I use the "reimport packages" funcitonality, my replacements are gone, while the translations for new strings are still there.

How is the precedence of conflicting translations set on reimport? Is that arbitrary? Would it make sense to consider module weight here, so that you could overwrite whatever you want using a high module weight for your own module?

Or is there any other way of giving a translation a high precedence so that it always overwrites an existing string?

Comments

gábor hojtsy’s picture

Status: Active » Fixed

Yes, you can always import your own de.po file manually after the reimport. Also, as far as I remember, localitzation client gets its module list from Drupal, which lists it in increasing specificity order (general modules, sites/all/modules, sites/example.com/modules, if you are example.com), so putting your own translation with your own site specific module (which most Drupal sites have for some glue code, form alters and such), you should have it imported automatically at the right time even.

Frank Steiner’s picture

Ok, I will check about that order in drupal core. Thanks!

Status: Fixed » Closed (fixed)

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