Dual language commcare application

Hi all, we are developing an application in which users will regularly
switch back and forth between 2 languages. I’ll refer to “app language” as
the language of the main menu, login screen, etc. and “form language” for
the language when you actually open up an xform. My questions:

  • How do you change the application language on the phone when you are
    logged in as a standard user (as opposed to admin)?

  • In CC HQ 1.0, how do you set defaults for both the application language
    and the phone language?

  • Is it possible for a user to change the application language and have this
    language be used as the new default language for any forms that are opened?
    It is quite annoying for a user to have to change the language in the
    application and in each form they open.

Thanks,
Jon

Jon,

Answers inline

Hi all, we are developing an application in which users will regularly
switch back and forth between 2 languages. I’ll refer to “app language” as
the language of the main menu, login screen, etc. and “form language” for
the language when you actually open up an xform. My questions:

  • How do you change the application language on the phone when you are
    logged in as a standard user (as opposed to admin)?

This currently isn’t possible. No one’s use case up to this point has
included the need to switch languages on the phone menus. We can work on
that if it’s needed for an upcoming app. Do you want the language to be
configurable per user (IE: the app is in multiple languages because there
are users who need a different language) or does it need to be configurable
such that individual users will use multiple languages? And why, in the
latter case, is that the expected use mode?

  • In CC HQ 1.0, how do you set defaults for both the application language
    and the phone language?

The default application language for your application is the first one in
the list of languages on the application settings screen. For the forms the
answer is relevant to the next question

  • Is it possible for a user to change the application language and have
    this language be used as the new default language for any forms that are
    opened? It is quite annoying for a user to have to change the language in
    the application and in each form they open.

This actually already works. If the application current language code (“en”,
“sw”, etc) is included in the language set for the form, that language will
be used as the default. Is there an app you’re testing on where that isn’t
working?

··· On Mon, May 16, 2011 at 10:53 AM, Jonathan Payne wrote:

Thanks Clayton. My answers are inline too…

Jon,

Answers inline

Hi all, we are developing an application in which users will regularly
switch back and forth between 2 languages. I’ll refer to “app language” as
the language of the main menu, login screen, etc. and “form language” for
the language when you actually open up an xform. My questions:

  • How do you change the application language on the phone when you are
    logged in as a standard user (as opposed to admin)?

This currently isn’t possible. No one’s use case up to this point has
included the need to switch languages on the phone menus. We can work on
that if it’s needed for an upcoming app. Do you want the language to be
configurable per user (IE: the app is in multiple languages because there
are users who need a different language) or does it need to be configurable
such that individual users will use multiple languages? And why, in the
latter case, is that the expected use mode?

This is for our CRS Malawi project, and many users know both Chichewa and
English. The language used may be up to the preference of both the health
worker and the client. We will look into whether we want the ability to
change the application language as part of the standard user options.

  • In CC HQ 1.0, how do you set defaults for both the application language
    and the phone language?

The default application language for your application is the first one in
the list of languages on the application settings screen. For the forms the
answer is relevant to the next question

ok

  • Is it possible for a user to change the application language and have
    this language be used as the new default language for any forms that are
    opened? It is quite annoying for a user to have to change the language in
    the application and in each form they open.

This actually already works. If the application current language code
(“en”, “sw”, etc) is included in the language set for the form, that
language will be used as the default. Is there an app you’re testing on
where that isn’t working?

will verify.

··· On Mon, May 16, 2011 at 12:05 PM, Clayton Sims wrote: > On Mon, May 16, 2011 at 10:53 AM, Jonathan Payne wrote:

Jon,

Ok, let me know what the users say.

One other thing that we’ll likely need to update: Currently, the error
messages that come up (when a question is out of range, etc), can’t be
internationalized. It seems like that’s a change we’ll need to make in order
to have this level of internationalization. Should we make a TO for that?

-Clayton

··· On Mon, May 16, 2011 at 4:18 PM, Jonathan Payne wrote:

Thanks Clayton. My answers are inline too…

On Mon, May 16, 2011 at 12:05 PM, Clayton Sims csims@dimagi.com wrote:

Jon,

Answers inline

On Mon, May 16, 2011 at 10:53 AM, Jonathan Payne paynejd@gmail.comwrote:

Hi all, we are developing an application in which users will regularly
switch back and forth between 2 languages. I’ll refer to “app language” as
the language of the main menu, login screen, etc. and “form language” for
the language when you actually open up an xform. My questions:

  • How do you change the application language on the phone when you are
    logged in as a standard user (as opposed to admin)?

This currently isn’t possible. No one’s use case up to this point has
included the need to switch languages on the phone menus. We can work on
that if it’s needed for an upcoming app. Do you want the language to be
configurable per user (IE: the app is in multiple languages because there
are users who need a different language) or does it need to be configurable
such that individual users will use multiple languages? And why, in the
latter case, is that the expected use mode?

This is for our CRS Malawi project, and many users know both Chichewa and
English. The language used may be up to the preference of both the health
worker and the client. We will look into whether we want the ability to
change the application language as part of the standard user options.

  • In CC HQ 1.0, how do you set defaults for both the application language
    and the phone language?

The default application language for your application is the first one in
the list of languages on the application settings screen. For the forms the
answer is relevant to the next question

ok

  • Is it possible for a user to change the application language and have
    this language be used as the new default language for any forms that are
    opened? It is quite annoying for a user to have to change the language in
    the application and in each form they open.

This actually already works. If the application current language code
(“en”, “sw”, etc) is included in the language set for the form, that
language will be used as the default. Is there an app you’re testing on
where that isn’t working?

will verify.