PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Implementation
  • Using Google Translation in the editors
  • Getting the API key required to use Google Translation
  • Using Google Translation in the editors
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to support up to 64 languages in the same project: window, report, WLanguage...
The translation of the different languages can be performed afterwards by using WDMSG or in the editors directly.
To simplify this translation, the editors offer to call "Google Translation" to perform these translations.
Caution: Of course you must comply with the Google service usage rules, which are subject to change over time.
Implementation

Using Google Translation in the editors

To use Google Translation in the editors:
  1. Display the general options of the software used: on the "Home" pane, in the "Environment" group, expand "Options" and select "General options of WINDEV/WEBDEV/WINDEV Mobile".
  2. Display the "Translation" tab.
  3. Select the "Google Translation" engine. Specify the API key required to use Google Translation.
  4. Validate.

Getting the API key required to use Google Translation

To get the API key required to use Google Translation:
  1. You must own a Google account.
  2. Connect to the Google API console in order to enable the "Translate API" service (https://code.google.com/apis/console, link valid when this document was written).
  3. A new option ("API Access") appears. Click this option.
  4. Your "API Key" is generated and displayed in the page. This key must be entered in the window of WINDEV, WEBDEV and WINDEV Mobile options.
Notes:
  • The invoicing information must be properly filled for the Google account. Indeed, Google Translation is not a free service. If this information is not specified, an error will occur when attempting to perform a translation.
  • See https://developers.google.com/translate/v2/faq for more details
Using Google Translation in the editors
When the translation via Google Translation is enabled, most of the editors allow you to use this translation mode.
To use Google Translation in the editors:
  1. A flag appears ( ) in the different sections that can be translated via Google Translate.
  2. A click on this flag displays a menu with the possible translations for the current text:
  3. All you have to do is select the option corresponding to the translation to perform.
For a description window, you also have the ability to perform the following operations:
  1. Click in the section containing the text to translate.
  2. Click the button at the bottom of window.
  3. The translation window is displayed.

    In this window:
    • Select the reference language.
    • Click the "Ask for translation" link to get the translation via Google Translation in the requested language.
  4. Select the translations that must be applied to the description window (check the translations or click the "All" and "None" buttons).
  5. Validate the translation window. The information is automatically applied to the description window.
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment