Somehow some of the .po files did not get imported completly, resulting in some modules being only partly translated (in my case the image_gallery module shows a mixture of english and german).
Should I just remove German language from mysite.com/admin/settings/language and then re-add it? Or will there be problems as all German content will be changed to "language neutral"?
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | localize.drupal.org_.png | 62.62 KB | sobi3ch |
Comments
Comment #1
kkaefer commentedYou don't have to remove the language. You can just import the missing files manually on Site building >> Translate interface >> Import
Comment #2
deshilachado commentedHat geklappt, danke!
Comment #4
alex.cunha commentedA way to re-import manually changed .po files stored on modules/module_name/translations/ is needed instead to manually import each .po file. There is any way or workarround to do this?
Comment #5
flaviovs commented+1 for a way of re-importing language files.
Re-importin using "Site building >> Translate interface >> Import" is not a solution.
Currently the only way I know of reimporting all .po files is to delete your language and create it again. Of course, you will lose all your custom translation if you do this.
Comment #6
mediamash commentedis there no other solution then deleting the default language?
Comment #7
deshilachado commentedi could not find any other solutions than
a) deleting the default language and re-adding it or
b) re-importing each po file as in comment #1
Comment #8
jax commentedThe project http://drupal.org/project/l10n_client adds the option to reimport the translation files.
Comment #9
sobi3ch commentedOn localize.drupal.org just select All in one file from Packaging. See attached file..
Comment #10
tfranz commentedI've found this module to be helpful:
http://drupal.org/project/po_re_importer
Comment #11
asb commentedSadly, the 'Po-Re-Importer' module has been abandoned, so 'l10n_client' appears to be the only option for now :(
Comment #12
tobiasbNo use this module http://drupal.org/project/l10n_update.
Comment #13
asb commented@tobiasb: Actually, I'm using 'l10n_update-6.x-1.0-beta1' for a couple of months on my localized sites, and that's the reason why I would like to try to re-import translations files; on one site, a number of contributed modules have broken translations (e.g. 'date' module), and the localized version presents itself as a mixture of the localized language and English.
On a similar occasion a long time ago, I could fix the mess with 'Po-Re-Importer'. As far as I know, 'l10n_update' has no comparable feature - if just keeps the local translations up-to-date with the upstream translations (that is, if it works). It does not re-import translations. Or am I wrong?
Comment #14
asb commentedRelated bug report against 'Localization update': #1396302: Translations are not updated, and existing translations are lost. Won't fixed feature request; #1016508: Add option to change reload all translations
Comment #15
joachim namyslo