[translations] determining correct import

Jakub Suchy jakub at rtfm.cz
Mon Feb 5 10:47:01 UTC 2007


> This is indeed a very real problem. See the update.php solution. It does 
> what you describe. First it collects the updates need to be run, then it 
> pushes that into the session. Then runs update to update, going through 
> the array in the session. It also displays a nice progress bar, so that 
> you see where you are, and that something is happening.
> 
> So a solution for such things is already in Drupal. The interesting 
> question is whether we can utilize it somehow, or just need to copy code. 
> This is a problem in install time and later when you go into automatic 
> update. Both places would be better with a step-by-step import process, 
> where memory and runtime is not that big a consern. The update process 
> already solves this a great deal, so no need to reinvent the weel. We just 
> need to reuse of steal code :)

And it actually works, i never noticed it's done using <meta refresh>
:-) (or redirects at all)

Jakub


More information about the translations mailing list