Introduction to Statistical Machine Translation
michaelnielsen.org
michaelnielsen.org
The biggest challenge with any statistical or machine learning techniques is getting a good data set. If all you have is a lot of code but the code with bugs in it is not annotated, then you need unsupervised techniques which require better algorithms and more data (as I understand it).
The problem, I think, is that making a statistical n-gram model of a programming language doesn't look like it can produce encouraging results (think locally balanced-like, but globally unbalanced parenthesis, which should pop up often in ngrams for parentheses more than n tokens apart). The upper side is that you can get a tokenizer "for free" using the language's own grammar.
http://en.wikipedia.org/wiki/Stochastic_context-free_grammar
A given unit test serves as the annotation for a static piece of functionality. The evolution of the code behind the unit-test shows the pre-bug (French) and post-bug (English) states.
A little harebrained perhaps, but there are a lot of open source projects with a long history behind them; maybe there are a few viable candidates to test this on.
Culture is another interesting aspect. What somebody might translate as a greeting might require a totally different literal translation in another language, but it's always hard to justify translations that aren't exactly literal. This usually impacts tone quite a bit. From my experience, conversational style for the major Asian languages is indirect and hinting. Most people already understand the importance of cultural differences, this is strongly present in speech as well.