PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Configuring the user groupware for a multilingual application
  • Translating the elements of the user groupware
  • Run the application in the requested language
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
If your application is a multilingual application, the multilingual feature must also be managed in the windows/pages of user groupware. By default, the windows/pages of user groupware support English, American and French.
This help page explains how to:
Configuring the user groupware for a multilingual application
To include the windows or pages of user groupware in a multilingual application:
  1. On the "Project" pane, in the "Project" group, click "User groupware".
  2. Depending on the supported languages, select the integration mode:
    • For an English/French application, in the "Integration" tab, select "Automatic user groupware".
    • For an application supporting other languages, in the "Integration" tab, select "Custom user groupware".
  3. Depending on the start mode of the application, define how the groupware will be started:
    • If the application must be run in the runtime language, in the "Runtime" tab, choose "Auto Run".
    • If the application must ask the user for the runtime language, in the "Runtime" tab, choose "Manual start".
  4. Validate.
Translating the elements of the user groupware
By default, the elements (window, pages, messages, ...) found in the user groupware are available in English and in French.
To translate these elements into other languages, all you have to do is translate the different captions, messages, ... of these windows or pages (by using WDMSG if necessary to check out the messages to translate). WDMSG is an optional tool of WINDEV, WEBDEV and WINDEV Mobile used to check out and to check back in all the messages to translate.
Note: Don't forget to check out the multilingual strings.
Run the application in the requested language
Two cases may occur:
  • The application is automatically started in the default language. The language can be changed thereafter.
    In this case, the groupware elements will also be run in the default language.
  • The application asks the user to choose the runtime language. In this case, you must:
    1. Ask the user for the language in which the application must be run (via a specific window or page for example).
    2. Configure the runtime language of the application with Nation.
    3. Open the first window or page for managing the user groupware with gpwOpen.
Example of custom start:
// Initialization code of project
// Open the window for language selection
nLanguage is int = Open(WIN_Select_Language)
// Configure the language for the application
Nation(nLanguage)
// Start the first window of user groupware
gpwOpen()
Minimum required version
  • Version 18
Comments
Click [Add] to post a comment