ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Multilingual functions
  • Overview
  • Translation method
  • Automatic translation of the interfaces
  • Checking out and checking in the information to translate
  • Languages that use a specific character set
  • Translating specific windows and pages
  • Handling HFSQL errors
  • Automatic error handling
  • User Groupware
  • Report viewer
  • System menus/Context menu of AAF
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
When the different languages supported by the application have been defined in the project characteristics, the information displayed by the application must be translated into these different languages.
To translate the interface into several languages, some elements must be taken into account:
Translation method
Several translation modes are available:
  • Automatic translation of the interfaces via a specific translation tool found on the development computer. This translation is performed in the editor of WINDEV, WEBDEV or WINDEV Mobile.
  • Checking out and checking in the information to translate with WDMSG.

Automatic translation of the interfaces

For each object, different multilingual areas are displayed in the description window. These multilingual areas allow you to enter information in the different languages supported by the project.
To translate this information from the different editors:
  1. Display the options of WINDEV, WEBDEV or WINDEV Mobile: 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. This tab is used to define:
    • the default translation tool (as well as the transmission mode for the text to translate and for the translated text).
    • the source and destination languages for the translation.
  3. If a translation tool is specified, a "Translate" button () will be displayed in each element containing information to translate. This button is used to translate the selected text via the specified translation tool.
For more details, see:

Checking out and checking in the information to translate

WDMSG (independent tool) is used to check out all the messages from a project (captions of controls, ...) and to check them back in once they have been translated. For more details, see the help about WDMSG.
Contact PC SOFT Sales Department for more details about the conditions for using this program.
Languages that use a specific character set
If your application supports languages that use specific character sets (Greek, Russian, etc.), the different messages must be translated using these character sets.
WINDEV, WEBDEV and WINDEV Mobile allow you to automatically manage the use of specific character sets in the editor.
When the text cursor is located in the input area of a language that uses a specific character set, the corresponding input language (character set used by the keyboard) is automatically enabled.
Therefore, if a text is entered in the "Russian" area of the description window of a control, the Russian character set will be automatically used by the keyboard.
Reminder: To use specific character sets, the files corresponding to the desired character sets must be installed in the Windows region settings (control panel).
Remark: If you do not want to automatically enable the input language (language used by the keyboard) corresponding to the current language:
  1. Go to the "Translation" tab in the options (on the "Home" tab, in the "Environment" group, expand "Options" and select "General options of WINDEV/WEBDEV/WINDEV Mobile").
  2. Uncheck "Enable automatic change of input regional settings".
Translating specific windows and pages
WINDEVWEBDEV - Server codeWINDEV Mobile

Handling HFSQL errors

By default, HFSQL error handling windows and pages are provided in English and French. To translate them into another language, you must:
  1. Include the default error windows/pages in your project.
    • WINDEVWINDEV Mobile These windows and their WLanguage code are provided as examples in the "\Programs\Data\Preset Windows\EN\HyperFileSQL - Automatic Help Windows" directory.
    • WEBDEV - Server code These pages and their WLanguage code are available in the "\Programs\Data\Preset Pages\EN\HyperFileSQL - Automatic Help Pages" directory.
  2. Customize the management of errors with HOnError. This customization consists in using the windows/pages for automatic help that were included in the project.
  3. Translate the different messages (see previous paragraph).
WINDEV

Automatic error handling

By default, automatic error handling windows are available in English and French. To translate them into another language, you must:
  1. Include the default error windows in your application. These windows and their WLanguage code are provided as examples in the "\Programs\Data\Preset Windows\EN\Assert - Error - Exception" directory.
  2. Translate the different messages (see previous paragraph).
Java These windows are also available in Java applications.
WINDEVWEBDEV - Server code

User Groupware

By default, the User Groupware is available in English and French.
To translate an application or a site that uses the User Groupware, you must choose the "Custom User Groupware" mode when the User Groupware is included in your application. Reminder: To integrate the User Groupware into your application, go to the "Project" tab, "Project" group and click "User Groupware".
The different windows/pages of the user groupware will be included in your project.
Then, all you have to do is translate these windows/pages.
Remark: Uncheck "Automatic start" if necessary: this allows you to display a window or page for language selection before starting the login window/page.
WINDEV

Report viewer

By default, the report viewer window is available in English and in French.
To translate the report viewer, the corresponding windows must be integrated in your application. These windows and their WLanguage code are provided as examples in the "\Programs\Data\Preset Windows\EN\Report viewer" directory. For more details, see Customizing the report viewer.
Then, all you have to do is translate these windows.
WINDEVWINDEV Mobile

System menus/Context menu of AAF

WINDEV proposes a default context menu for some controls. This menu allows users to easily perform several operations.
To translate these menus, you must have WDINT. For more details, see Configuring the menus of AAFs.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/06/2024

Send a report | Local help