|
|
|
|
|
- Overview
- Implementation
- Using Google Translate in the editors
- Getting the API key required to use Google Translate
- Using Google Translate in the editors
WINDEV, WEBDEV and WINDEV Mobile support up to 64 languages in a single project. This includes windows, reports, WLanguage, etc. You can translate content afterwards with WDMSG or in the editors directly. For a better workflow, you can use Google Translate from the editors. Note: You must accept Google Translate's Terms of Service, which may vary over time. Using Google Translate in the editors To use Google Translate in the editors: - Open the general options of the software you are using. On the "Home" tab, in the "Environment" group, expand "Options" and select "WINDEV / WEBDEV / WINDEV Mobile general options".
- Go to the "Translation" tab.
- Select the "Google Translate" engine. Specify the API key required to use Google Translate.
- Validate.
Getting the API key required to use Google Translate To get the API key required to use Google Translate: - You must own a Google account.
- Log in to the Google API console to enable the "Translate API" service (https://code.google.com/apis/console, valid at the time of writing this document).
- A new option ("API Access") appears. Click this option.
- Your "API Key" is generated and displayed in the page. Enter this key in the WINDEV, WEBDEV and WINDEV Mobile options window.
Remarks: - The Google account billing information must be correctly filled in. Google Translate is a paid service. If this information is not specified, an error will occur when attempting to translate text.
- For more details on how to obtain the API key and how to use Google Translate, see https://developers.google.com/translate/v2/faq
- The version of the translation API used is v2.
Using Google Translate in the editors When Google Translate is enabled, most editors allow you to use this translation mode. To use Google Translate in the editors: - An icon (
) appears in the different areas that can be translated using Google Translate. - Click this icon to view the translation options for the current text:
- Simply select the desired language pair.
For a description window, you can also perform the following operations: - Click the section containing the text to be translated.
- Click the
button at the bottom of the window. - The translation window is displayed.
In this window:
- Select the source language.
- Click the "Request translation" link to translate the text to the desired language using Google Translate.
Note: The "Refresh translations" button will refresh empty translations or those that have been translated using the "Request translation" link.. - Select the translations you want to use in the description window (check the translations or click "All" and "None").
- Confirm the selected translation options. The translations corresponding to the selected lines are automatically propagated to the description window.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|