Translate "this response is required" message for CommCare ODK

Hello -- has anyone added a custom translation to the message that pops up
when you try to skip a required question? The message is "Sorry, this
response is required!"

I've tested a few things but haven't figured out how to do it on the
Android client.

Matt

I'm using 2.1, by the way.

··· On Wednesday, October 17, 2012 5:47:11 PM UTC-7, Matt Ball wrote: > > Hello -- has anyone added a custom translation to the message that pops up > when you try to skip a required question? The message is "Sorry, this > response is required!" > > I've tested a few things but haven't figured out how to do it on the > Android client. > > Matt >

Matt,

Unfortunately, that translation is part of ODK Collect, so we're using
their localization system (which is hardcoded into the app).

I can include translations for other languages into the app localizations,
but currently they can't be dynamically localized.

I believe that if you include a constraint message for a question in your
form, that message will be displayed if the form, so that could be a
workaround for any of your required questions.

-Clayton

··· On Wed, Oct 17, 2012 at 8:47 PM, Matt Ball wrote:

Hello -- has anyone added a custom translation to the message that pops up
when you try to skip a required question? The message is "Sorry, this
response is required!"

I've tested a few things but haven't figured out how to do it on the
Android client.

Matt

Thanks Clayton. I've tried the constraint message workaround a bit but
haven't gotten it to work -- has anyone else done this? Here's what was
happening:

I've tried adding a constraint message in English and in Portuguese in the
"Logic Properties" section of the "question properties." Vellum pops up a
form error that I can't make go away: Question has Constraint Itext label
but no Constraint Itext ID!

I click the auto "Constraint Itext ID" checkbox to fill in the ID and then
an error comes up: ERROR: Bind cannot have a Constraint Message with no
Constraint! The warning remains..

I also tried adding text to the "Constraint Message" field of the "Advance
Properties" section in the form but this also had no effect.

The app builds successfully with the warning and error, but the custom
messages still don't show up.

Matt

··· On Thu, Oct 18, 2012 at 1:14 PM, Clayton Sims wrote:

Matt,

Unfortunately, that translation is part of ODK Collect, so we're using
their localization system (which is hardcoded into the app).

I can include translations for other languages into the app localizations,
but currently they can't be dynamically localized.

I believe that if you include a constraint message for a question in your
form, that message will be displayed if the form, so that could be a
workaround for any of your required questions.

-Clayton

On Wed, Oct 17, 2012 at 8:47 PM, Matt Ball matt@aquaya.org wrote:

Hello -- has anyone added a custom translation to the message that pops
up when you try to skip a required question? The message is "Sorry, this
response is required!"

I've tested a few things but haven't figured out how to do it on the
Android client.

Matt

Hi Matt,

It looks like your form somehow got into a bad state. Can you please link
me to your form, either here or through a CommCareHQ bug report? We'll
work to identify the issue and make sure it won't happen again.

Thanks,
Amelia

··· On Thu, Oct 18, 2012 at 9:47 PM, Matt Ball wrote:

Thanks Clayton. I've tried the constraint message workaround a bit but
haven't gotten it to work -- has anyone else done this? Here's what was
happening:

I've tried adding a constraint message in English and in Portuguese in the
"Logic Properties" section of the "question properties." Vellum pops up a
form error that I can't make go away: Question has Constraint Itext label
but no Constraint Itext ID!

I click the auto "Constraint Itext ID" checkbox to fill in the ID and then
an error comes up: ERROR: Bind cannot have a Constraint Message with no
Constraint! The warning remains..

I also tried adding text to the "Constraint Message" field of the "Advance
Properties" section in the form but this also had no effect.

The app builds successfully with the warning and error, but the custom
messages still don't show up.

Matt

On Thu, Oct 18, 2012 at 1:14 PM, Clayton Sims csims@dimagi.com wrote:

Matt,

Unfortunately, that translation is part of ODK Collect, so we're using
their localization system (which is hardcoded into the app).

I can include translations for other languages into the app
localizations, but currently they can't be dynamically localized.

I believe that if you include a constraint message for a question in your
form, that message will be displayed if the form, so that could be a
workaround for any of your required questions.

-Clayton

On Wed, Oct 17, 2012 at 8:47 PM, Matt Ball matt@aquaya.org wrote:

Hello -- has anyone added a custom translation to the message that pops
up when you try to skip a required question? The message is "Sorry, this
response is required!"

I've tested a few things but haven't figured out how to do it on the
Android client.

Matt

Hi Amelia,

Thanks for the offer to look at my form -- I'll open up a bug report.

Matt

··· On Fri, Oct 19, 2012 at 7:56 AM, Amelia Sagoff wrote:

Hi Matt,

It looks like your form somehow got into a bad state. Can you please link
me to your form, either here or through a CommCareHQ bug report? We'll
work to identify the issue and make sure it won't happen again.

Thanks,
Amelia

On Thu, Oct 18, 2012 at 9:47 PM, Matt Ball matt@aquaya.org wrote:

Thanks Clayton. I've tried the constraint message workaround a bit but
haven't gotten it to work -- has anyone else done this? Here's what was
happening:

I've tried adding a constraint message in English and in Portuguese in
the "Logic Properties" section of the "question properties." Vellum pops
up a form error that I can't make go away: Question has Constraint Itext
label but no Constraint Itext ID!

I click the auto "Constraint Itext ID" checkbox to fill in the ID and
then an error comes up: ERROR: Bind cannot have a Constraint Message
with no Constraint! The warning remains..

I also tried adding text to the "Constraint Message" field of the
"Advance Properties" section in the form but this also had no effect.

The app builds successfully with the warning and error, but the custom
messages still don't show up.

Matt

On Thu, Oct 18, 2012 at 1:14 PM, Clayton Sims csims@dimagi.com wrote:

Matt,

Unfortunately, that translation is part of ODK Collect, so we're using
their localization system (which is hardcoded into the app).

I can include translations for other languages into the app
localizations, but currently they can't be dynamically localized.

I believe that if you include a constraint message for a question in
your form, that message will be displayed if the form, so that could be a
workaround for any of your required questions.

-Clayton

On Wed, Oct 17, 2012 at 8:47 PM, Matt Ball matt@aquaya.org wrote:

Hello -- has anyone added a custom translation to the message that pops
up when you try to skip a required question? The message is "Sorry, this
response is required!"

I've tested a few things but haven't figured out how to do it on the
Android client.

Matt