Closed (fixed)
Project:
Localization client
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2008 at 09:06 UTC
Updated:
23 Nov 2008 at 14:22 UTC
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
Comment #1
gábor hojtsyYes, 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.
Comment #2
Frank Steiner commentedOk, I will check about that order in drupal core. Thanks!