ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Environment
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview
WINDEV, WEBDEV and WINDEV Mobile allow you to support up to 64 languages in the same project: window, report, WLanguage, etc.
You can translate content afterwards with WDMSG or in the editors directly.
For a better workflow, the editors can use Google Translate.
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" tab, in the "Environment" group, expand "Options" and select "General options of WINDEV / WEBDEV / WINDEV Mobile".
  2. Go to 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. Log in to the Google API console to enable the "Translate API" service (https://code.google.com/apis/console, link valid at the time of writing this document).
  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.
Remarks:
  • 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.
  • 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 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. An icon () appears in the different areas that can be translated using Google Translate.
  2. Click this icon to view the translation options 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 can also 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 appears.
    In this window:
    • Select the reference language.
    • Click the "Request translation" link to get the translation via Google Translation in the desired 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 version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/09/2023

Send a report | Local help