dimagi/commcare-hq — pull request #5183 by NoahCarnahan (2014-12-31 07:53:05+00:00)
Title: Fix bug in bulk app translation with mismatched form/app languages

There was a bug that manifested itself when the `` elements of a form had different `lang` attributes than the app, and when the `` element indicated as the default was not the first `` element. If these conditions existed, then bulk app translation threw a 500. Fixed by removing an implicit assumption about which `` in the form is indicated as the default.

[Ticket](http://manage.dimagi.com/default.asp?151635)