Versions Compared

Key

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

...

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 in the far left-hand pane in the "Application" tab.  For general information about multiple languages in CommCare go heresee https://dimagi.atlassian.net/wiki/x/njTKfw.

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

...

Before you start, you should make sure that someone else has not done all the work for you already!

 33. Press "auto fill translations"  after which CommCare will show you its best educated guess at the correct translation.  For example, if another organization made an application in the Thai language, then CommCare will auto fill the translations with any user interface translations that they used.  If you want, you can use those, or you can change them to whatever you want.  If ten organizations have made applications in the Thai language, then CommCare will look for the translations that are most common for each text string and will suggest those. The auto fill translations button exists underneath within the CommCare Translations section at the bottom of the phrase list. 

...

 If If your language has never been used in a CommCare application (or no user interface translations were provided) then nothing will happen.  If there are prior translations, you should see something like this (it may take up to a minute for the translations to appear):

...

On the left is the "key" that CommCare needs to know which message you are referring to, and on the right is the translated text that will be displayed to the user.  In the image above, CommCare is suggesting translations for some of the strings, based upon previous projects.

4. If you want to keep them, click on the green "Save" button in the upper right corner.  You can also directly edit the translations, delete ones you don't want (by clicking on the "x"), or add additional translations, which is explained below.

...

Android-Specific User Interface Translations

Android Translations are set the exact same way as Java Phone translations, but the key specified is different. You can find the specific translations on hosted on GitHub.

...

This allows you to customize the names of submit, continue, and end of form messages. This can make your app more readle readable and make your app easier to navigate.

...

Steps to setup changing submit and end of form sucess success messages

  1. In your app’s settings, Download the bulk translation spreadsheet (tutorial above).

  2. In the spreadsheet, Go to the page with the forms and/or case lists where changes are needed.

    1. The first page of the spreadsheet will show menus_and_forms to help navigate the spreadsheet.
      Find the button label that will be changed.

  3. Find the button label that will be changed.

  4. Change the default_en column to your new text that should display.

  5. Save the Excel document.

  6. In CommCare, Upload bulk translations translations.

...