Temporarily change the default language in form designer

Hey,

Sorry if this is a dumb question, but I couldn’t figure this out.

When making a bilingual form it’s useful to have the question list in
English while doing the design so you can reference it easily, but then we
need to switch the default language to the local language for deployment. Is
this possible? If so, how?

thanks,
Cory

You may have to set the default language for the form by manually editing
the XML:
In FormDesigner

  • hit ‘Preview XML’ (in the main menu)
  • Scroll down to where the itext block begins
  • Find the tag for the language you would like to make the
    default language
  • add the following attribute and value to the translation tag:
    default="" (note the empty double quotes “”)
    • e.g. becomes
  • Make sure that none of the other translation tags contain the
    ’default="" ’ attribute! (having more than one default will cause CommCare
    to crash)
  • Hit “Open pasted text” button in the Preview window
  • Edit your form as normal
  • Repeat the same steps as above when you want to switch the default lang
    back to something else.

When doing editing in CommCareHQ I believe the interface follows the default
*application *language.

Apologies for the inconvenience this workaround causes. We’re working hard
at getting a better form editor out as soon as possible.

Please let me know if you have any additional questions or need more
clarification on the steps above!

Thanks,
Anton

··· On Mon, Jul 11, 2011 at 3:01 AM, Cory Zue wrote:

Hey,

Sorry if this is a dumb question, but I couldn’t figure this out.

When making a bilingual form it’s useful to have the question list in
English while doing the design so you can reference it easily, but then we
need to switch the default language to the local language for deployment. Is
this possible? If so, how?

thanks,
Cory

I forgot to mention:

In order to edit the form in the language of your choice (so that, for
example, the labels in the tree view show up in a language you can read) you
need to change the default language to the one of your choice by following
the steps mentioned previously.

-Anton

··· On Mon, Jul 11, 2011 at 1:49 PM, Anton de Winter wrote:

You may have to set the default language for the form by manually editing
the XML:
In FormDesigner

  • hit ‘Preview XML’ (in the main menu)
  • Scroll down to where the itext block begins
  • Find the tag for the language you would like to make
    the default language
  • add the following attribute and value to the translation tag:
    default="" (note the empty double quotes “”)
    • e.g. becomes
  • Make sure that none of the other translation tags contain the
    ’default="" ’ attribute! (having more than one default will cause CommCare
    to crash)
  • Hit “Open pasted text” button in the Preview window
  • Edit your form as normal
  • Repeat the same steps as above when you want to switch the default
    lang back to something else.

When doing editing in CommCareHQ I believe the interface follows the
default *application *language.

Apologies for the inconvenience this workaround causes. We’re working hard
at getting a better form editor out as soon as possible.

Please let me know if you have any additional questions or need more
clarification on the steps above!

Thanks,
Anton

On Mon, Jul 11, 2011 at 3:01 AM, Cory Zue czue@dimagi.com wrote:

Hey,

Sorry if this is a dumb question, but I couldn’t figure this out.

When making a bilingual form it’s useful to have the question list in
English while doing the design so you can reference it easily, but then we
need to switch the default language to the local language for deployment. Is
this possible? If so, how?

thanks,
Cory