You can get a white page when using Special:ImportTranslations to upload a PO file edited offline

You can get a white page when using Special:ImportTranslations to upload a PO file edited offline

I have get a white page when importing a translation and i'm not sure but i think why. I have made an offline translation (of statusnet-core project for basque language) and used Special:ImportTranslations to upload the PO file. After some seconds, this page shows me all the changes I want to do (strings add, change and remove).

As this process is very heavy, if the changes are many (more than 20-30) they are loaded in parts. So you have to push the "Execute" button more than once. In that case, the page explains you that the upload must be done by parts and that you have to push the button as many times as needed to save all the changes (adds, changes and removes).

Until here, all is ok. The problem is that if you push the "Execute" button too quickly, the process fails and you get a white page. I have made a try and push the "Execute" button after waiting 20-30 seconds since I see it in my browser and it worked!

So I think an advice should be added in the page and ask users to wait half a minute or so before clicking on the "Execute" button. It is just a suggestion. Some tests should be done to ensure that all I have seen is right.

Cheers,

Txopi16:31, 26 February 2011

We have made a few updates to the code that should identify problems in the uploaded file. No changes to the workflow, yet though.

Thanks for the report and the tips!

Siebrand12:57, 12 March 2011

Finally, I achieved to import the translation. Thank you!

Txopi18:38, 18 June 2011