At the time of our development process, we send all * .resx files to the translator. A translator usually takes a week to send files back. During this time, no one can add, delete or update any resx file.
How can I configure mercurial to enforce this policy?
Our setup: each developer works with a local clone of our central repository.
Nice to have:
I will enable and disable the "policy" every few weeks. Therefore, ideally, I would like something that is easy to set up in one place and affect all developers.
I prefer to apply this policy at the local repository level, and then at the central repository level, because if we prevent push in the central repository, it will be more difficult for the developer to cancel the locally revisions.
thanks
UPDATE:
Additional information about the translation process:
Merging is not a problem here. The translator does not change the files that we sent him. We send him a bunch of neutral .resx languages ββ(form1.resx) and return a bunch of resx-specific languages ββ(form1.FR.resx).
Why not add a new resx? Adding resx occurs when we add a new user interface to our application. If we do this after sending the translation package, the translator will not know about the new user interface, and we will get a new interface without translation.
Why prevent resx update? If dev changes the label value from "open" to "close", he made a very important semantic change. If he does this after sending the translation package, we will not receive the correct translation.
source share