Since the values of the OpenRosaResponse message aren't defined I wonder
if it would be helpful to add an alternate structure that would support
translated response messages from which clients can pick the most
appropriate to display.
It would be easier for ongoing maintenance on the part of the people on
the submission endpoint to do this vs. trying to send some sort of
constant that is translated on the client side.
E.g.,
<OpenRosaResponse xmlns="http://openrosa.org/http/response">
<message lang="eng">Form Received! You've submitted 5 forms
today</message>
<message lang="something">Recibido el formulario! Que ha
presentado hoy cinco formas</message>
<message lang="something_else">حصل على النموذج! لقد قدمت لكم 5 أشكال
اليوم</message>
</OpenRosaResponse>
With a fallback to
<OpenRosaResponse xmlns="http://openrosa.org/http/response">
<message>Form Received! You've submitted 5 forms today</message>
</OpenRosaResponse>
If no translations are available.
I'm not sure if anyone cares about this but it was on my mind when I
read the spec.
(Sorry)
Matt
--
Matt Adams
Radical Dynamic
www.radicaldynamic.com