ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / User Groupware
  • Overview
  • Configuring the User Groupware for a multilingual application
  • Translating the elements of the User Groupware
  • Running the application in the requested language
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
If your application is multilingual, it is also necessary to manage multilingualism in the user Groupware windows/pages.. By default, User Groupware windows/pages 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 the User Groupware in a multilingual application:
  1. On the "Project" tab, in the "Project" group, click "User Groupware".
  2. Enable the User Groupware.
  3. Depending on the supported languages, select the integration mode:
    • For an English/French application, in the "Options" tab, select "No customization".
    • For an application supporting other languages, in the "Options" tab, select "Full customization (expert mode)".
  4. Depending on the start mode of the application, define how the groupware will be started:
    • If the application must use the runtime language, in the "General" tab, choose "Automatic start".
    • If the application must prompt the user to select the runtime language, in the "General" tab, select "Manual start"
  5. Validate.
Translating the elements of the User Groupware
By default, User Groupware elements (windows, pages, messages, etc.) are available in English and French.
To translate these elements into other languages, simply translate the various labels, messages, etc. of these windows or pages (using the WDMSG tool if necessary to extract the messages to be translated).. WDMSG is an optional tool for WINDEV, WEBDEV and WINDEV Mobile used to extract and reintegrate all messages to be translated.
Note: Remember to extract multilingual channels.
Running 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:
// Code d'initialisation du projet
// Ouverture de la fenêtre choix des langues
nLangue is int = Ouvre(FEN_Select_Langue)
// Configuration de la langue pour l'application
Nation(nLangue)
// Lancement de la première fenêtre du groupware utilisateur
gpwOpen()
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help