I have a legacy Drupal 5 project which is currently moved to a newer Drupal 7 platform, but the old project also contains a lot of custom translation sets. So I am wondering if there is any possibility to migrate those translations to the new project?

  • 2
    I can't find it now, but doesn't Drupal 5 have translate/export just like Drupal 6 and 7 do? If 5 can export .po files, 7 will be able to import them. t() exists since 4, so I would guess .po export in 5 is plausible. – Mołot Aug 25 '14 at 13:57
  • OK, thx @Molot! I'll try to figure this out. – Elijah Aug 25 '14 at 14:47
  • If it is the case, please post self-answer. My comment was just a guess, you are the one who is doing the real work. Oh, and if it is not true, edit your question to mention you have looked, and it is not the way. Possibly with screenshots or something :) – Mołot Aug 25 '14 at 14:50
  • Thank you very much @Molot for your tip with .po files! +100 points to you karma :) Actually there is also translations export form in Drupal 5 under the "admin/settings/locale/language/export" menu! – Elijah Aug 25 '14 at 16:46

Solution: There is a build-in possibility to export translation strings for each language into .po files in Drupal 5 projects as well. Export form is available under the "admin/settings/locale/language/export" admin menu.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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