Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About User Interface Translation

Even though you have built all of your forms in a language other than English, you may find that some parts of your application are still in English.  These text strings, which include the text for error messages and other default responses, are called "user interface strings."  It is possible to translate these for each application, or to use translations that other people have used for your language.

This page will walk you through the process of updating your application with translations of these "user interface" text strings.

When you are working on user interface translations, it is important to note in which language you are viewing your application. To find your language settings, go to the "Language" settings page, which is linked just below "multimedia" in the far left-hand pane in the "Application" tab.  For other information about languages in CommCare go here.

If you are deploying your application in multiple languages, then you will need to add user interface translations for each language.

Editing User Interface Translations in Bulk

You can download all existing translations to excel.  Click "Download messaging translations".

Image Removed

You can then translate the messages into your desired language, but be aware that CommCareHQ doesn't support accents in these messages and they will have to be left out. 

In addition, in order that your translations are uploaded, you will need to put them in a column labelled with your desired language (see example below).

 

Image Removed

 

If you now try to download the messaging translations, you will find your translated version along with the previous default language (likely in english)

Finally,  on the language list page, you will need to add your desired language and then make it the default language.

 

Image Removed

 

...

Messaging Translations

CommCare supports translating any text send out in SMS reminders, keywords and broadcast messages.  There are two main elements to an SMS system that need to be translated:

  • Any text that you include in SMS reminders or in an SMS survey. An SMS project can be configured to support multiple languages.  If you're using SMS surveys, you'll also need to configure the CommCare application that contains the surveys into any languages you require. 
  • The default text we send out for errors, or other default responses.  These are Messaging translations and can also be translated into the language of your choice.

Configuring Languages for an SMS Project

There are two places that you need to configure the languages for an SMS project:

  • Under the Messaging tab, on the Languages page.  You should add any languages your project needs to support here.  When sending an SMS message reminder or broadcast message, you'll be able to provide specific text for each language here. 
  • If you're using SMS surveys, in your application that contains the SMS surveys, also add any languages that your project needs to support.  Then when creating your SMS forms, you'll be able to provide specific text for each language. 

Choosing the Language for a Mobile Worker

If you're sending SMS messages to a mobile worker, you can choose the language they receive these messages on the mobile worker edit page.  

Image Added

Note that if you don't provide messaging translations for the mobile worker's chosen language, they will just receive messages in your project's default language. 

Choosing the Language for a Case

When registering or updating a case, you can add a specific case property to indicate the desired language for that case.  The case property should be named language_code and its value should be the language code (ex. fra) for the case.  This should match the language codes specified in the SMS language page and the application.

Setting Default Translations

There are a number of built-in messages that CommCareHQ can send to users (i.e. invalid keyword, or an invalid response to a survey question).  These are also translatable to the user's desired language. 

  1. Go to the Messaging tab, Languages page and make sure your desired languages are specified there, and a default language is set. 
    Image Added
  2. Then go to the Messaging Translations tab and choose "Download Messaging Translations"
    Image Added
  3. In the Excel file, you can translate any messages into your desired language.  NoteCommCareHQ doesn't support accents in these messages so they will need to be removed from any text.  For French users, the Messaging translations are here: translations.xlsx

 

...

  1. Image Added