1

I am creating a multilingual D7 website. I am using core module locale and i18n contrib module. I am trying to import the localization files for a language.

I know that I can download the unified .po file for a language from https://localize.drupal.org and import it in the multilingual website from http://EXAMPLE.COM/admin/config/regional/translate/import.

Is there a way I can export from https://localize.drupal.org a .po file only for a specific core module (eg contact)? I can do this for a contrib module but not for a core module.

Thanks a lot.

1 Answer 1

2

Nope, you cannot.

Translations are stored per project, not per module, and core is one project. Of course there is experimental Contact project on Drupal.org, but it's translation stays pretty empty as it's not needed.

Worse, in exported files (at least in my language) there is no metadata, no comments about modules these strings originated. So manually cutting this file to your needs would be pretty hard, too.

2
  • Thanks, it seems that we cannot do anything or maybe we have to place a feature request at the Multilingual Initiative. Jan 5, 2014 at 9:55
  • @TheodorosPloumis it seems that way. Sorry. Wasn't able to think about anything better than what I tested. Feature request seems reasonable.
    – Mołot
    Jan 5, 2014 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.