-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration
Sundeep Anand edited this page Feb 26, 2016
·
1 revision
Before the module can be used, it must be configured with some details about Zanata - user and project. These are set on the translator configuration page.
If you do not yet have a Zanata username or API key, or you have not yet created a project or project-version on Zanata for your website, use the following instructions to do so before you continue:
- To get a Zanata account, see Signing Up.
- For instructions on finding your API key, see "User Configuration" on the Configure the Client help page.
- User settings are accessed through the Dashboard.
- Note that you do not need to create any config files for this plugin.
- For help creating a project, see Project Creation.
- For help creating a version, see Version Creation.
To open the translator configuration page and enter configuration:
- Open the Administration menu
- Navigate to "Configuration" -> "Regional and language" -> "Translation Management Translators"
- You will see a list of translator plugins that have been added to TMGMT. Look for "Zanata translator" in the list.
- If you see an auto-created Zanata translator, open the configuration page by clicking "edit".
- If you do not see an auto-created Zanata translator, create one. To create a Zanata translator, click "Add translator", enter an appropriate label such as "Zanata translator", and in "Translator plugin" select "Zanata translator". When you select "Zanata translator" its configuration page will be displayed below.
- If you do not wish to perform translation review in Drupal, for example if review will be done in Zanata, ensure that "Auto accept finished translations" is checked. This setting can be changed later.
- Ensure that the Zanata server URL shows the correct Zanata server on which you have an account and have created a project for your website. To find the full URL, open the Zanata server and click the Zanata logo to open the homepage. The URL shown in your browser address bar is the server URL, but do not include a / at the end. For example, the homepage for the main Zanata server is at "http://translate.zanata.org/zanata/" so the URL for this server is "http://translate.zanata.org/zanata".
- Enter your username, your API key, your project ID and your project-version ID. Be careful to use your Zanata username rather than your display name, and the Project ID rather than the Project Name. See the links above for directions that may help to find this information.
- Click "Save translator" to complete the configuration.
- You are now able to create translation jobs that use Zanata translator.
Feature, Translation Periodic Check
depends upon Cron setup and it fetches new translations from Zanata server every time cron runs.