Translating OpenAidMap

Translating the OpenAidMap profile can take two routes, either at installation or after installation of the profile;

Translating OpenAidMap after installation

  1. Download the translation files of the profile in the given language from the http://localize.drupal.org server.
  2. Place the translation file in the translations directory of the profile i.e profiles/openaidmap/translations
  3. Go to the Languages page (/admin/config/regional/language) under the Regional and languages configuration page.
  4. On the Languages page, click the "Add language" button, choose your preferred language from the drop-down list of the supported languages and add the language by clicking the "Add language" button.
  5. Translation files of the profile and modules will be imported into the database.
  6. After the translation files of your preferred language have been imported, you can set the particular language as the default by checking the "Default" radio button next to the language and then click the "Save configuration" button.

Installing OpenAidMap in your preferred language

i18n String Translation

The TMGMT method can be used to translate i18n strings. It uses all the mechanisms defined by i18n.

Once you turn on all the necessary modules (i18n, string translation, menu translation, block languages, taxonomy translation etc.), the chosen strings will show up on the Admin > Translation > Sources page. In our case Blocks, Menu and Taxonomy strings.

Using the Local Translator

In TMGMT you can choose the Local Translator to submit a translation job to. During checkout, you can assign the job to a specific user or leave the choice to the translate administrator. Once the job is submitted, close the TMGMT overlay to return to a normal page.

With the Local Translator installed, new links are added to the user menu (top right of the screen in Bartik). Depending on the permissions, the 'Translate' and/or 'Manage Translation Tasks' links will be visible.

Choose the 'Translate' link. You will be presented with an overview of all translation tasks available to you. You can assign the jobs to yourself to proceed with the translation.

Choose the 'view' link to see the task items available for translation.

When clicking on the 'translate' link, you will (finally) get to the actual translation to be done.

Each data item (Title, Body, fields etc.) has its own pane. When finished with the work, it can be checked off. This is for administrative purposes only and has no influence on your ability to save and complete the task at hand.

Setting up the Local Translator

After installing the Local Translator (which will in turn activate Translation Language capabilities), you must do two things before using it:

  • Set up the language capabilities for any user that will do translation work
  • Give the users the permission to translate (and/or manage translations)

Language capabilities

Installing the Local Translator adds a field to the user profile. With this you can choose as many language pairs from languages available on the site and assign them to users. Do:

First you will add a user. No special requirements.

Open the user profile for editing and you will find the language pairs at the bottom of the editing screen:

Add as many items as you want. The user will be listed as suited for any job needing these language pairs.

Permissions

With the local translator, two permissions are added:

Provide translation services

Needed if a user is to have access to the Local Translator

Administer translation tasks

A user can be set up as the administrator for the translation task workflow. The user can assign/unassign tasks to users and with this guide the process. A normal user can only assign/unassign tasks to himself.

Settings for the Local Translator

Local Translation

The TMGMT Local Translator (LT) can be used to do the translation job in TMGMT. It provides a 2-panel interface to show the original text next to the translation.

The LT can either run on the same machine as the Drupal site itself or on a separate server used to do translation work. Connecting a Translation Server to a Drupal instance is described here (@TODO: TS decription and connection).

This documentation focuses on a local installation.

Pages

Subscribe with RSS Subscribe to RSS - translation