Translation files from ie Drupal Core or Distros are getting bigger and bigger. While import these we run into timeouts.
Some examples are:
- Drupal in Catalan (a well translated language usually) is 671K http://localize.drupal.org/translate/downloads?project=drupal
- Commerce kickstart distro is 811K http://localize.drupal.org/translate/downloads?project=commerce_kickstart
The current import processes each file in one go.
Each individual file should be imported through the Batch API that is split into chunks.
Original report by Gábor Hojtsy
Given, we will have bigger .po files of projects. We should fix or .po import to allow seek-based parsing of .po files and have a limit of how long we go into a .po file before we leave and run into the other HTTP request. Currently the .po parsing opens the file itself and cannot be told a seek position. This would go beyond #ldodomination, easing deployment for translations on the greater scale, but it belongs here, since we decided our package format would be one big .po file.