[DIFE-196] Fix race conditions when receiving translations
Sometimes updating the resource with translations is so fast that it removes previous updates. This MR ensures this won't happen by adding a lock on the translated resource.
Sometimes updating the resource with translations is so fast that it removes previous updates. This MR ensures this won't happen by adding a lock on the translated resource.