#923 closed System Defect (fixed)

Pootle is failing to save translations on occasion

Reported by: joshms Owned by: kris
Priority: major Milestone:
Component: System Tool Version: 10-STABLE
Keywords: pootle, translation Cc: trac-bugs@…

Description

On 01/09/2014 11:19, Josh Smith wrote:

On 1/9/2014 12:01 PM, Kris Moore wrote:

On 01/09/2014 05:57, Yuri Momotiuk wrote:

Hi

Seems like pootle don't save translations.
To reproduce:

  1. Open some file for translation and translate several items
  2. Close browser (or browser tab) with this file
  3. Open this file again

All previously made translations will be missed. Was catched on Ukrainian language.

--
Best regards, Yuri Momotyuk

_
Testing mailing list
Testing@…
http://lists.pcbsd.org/mailman/listinfo/testing

I'm still seeing commits come though from Pootle, so some of them must be going through. Maybe the translation you had done was during the update window?

https://github.com/pcbsd/pcbsd/commit/9bcb76a0ba16e888563f8cb1c63cab06f1d90798

Can you re-try and see if the translation "takes"?

Just a FYI Kris this was also reported by the indonesian translation team. On occasion they would have to leave an item that needed translated for a day and come back to it to translate later. I've not observed this myself, but it does seem to apply in other instances as well.

I think this could be occurring while the push / pull from git is happening. Make a trac ticket and I'll try to take a look when I get a chance :)

  • Excerpt from mailing list 1/9/2014

Change History (1)

comment:1 Changed 10 months ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Ok, I've made changes to how pootle syncs. Now it'll shutdown pootle web-services when it does the initial Pootle -> Git sync. This will prevent translators from submitting strings which get clobbered later on. Currently this process takes about 20 minutes, and runs at 5AM EST / 10AM GMT.

Note: See TracTickets for help on using tickets.