PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Multilingual captions
  • Overview
  • To enter multilingual captions in a control
  • Multilingual input and display masks
  • Overview
  • Using multilingual input or display masks (numeric values)
  • Using multilingual input or display masks (special cases)
  • Multilingual images
  • Overview
  • Managing multilingual images
  • Multilingual help
  • Managing a multilingual help system
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
Multilingual feature in the controls (window, page, report)
AjaxNot available
Overview
In a multilingual application or site, the multilingual feature is proposed for the following elements:
  • the static controls.
  • the input and display masks.
  • the images.
  • the help.
At runtime, WINDEV, WINDEV Mobile or WEBDEV will automatically select the caption, the mask or the image corresponding to the runtime language of project.
Reminder: The default language of project is defined in the project description:
  • on the "Project" tab, in the "Project" group, click "Description".
  • display the "Languages" tab.
For more details, see Multilingual applications.
Multilingual captions

Overview

For the following types of controls, a different caption can be defined for each language supported by the window, the page or the report:
  • Controls of a window or page:
    • static control,
    • edit control,
    • button,
    • ...
  • Controls in a report:
    • static control,
    • RTF,
    • Preset control,
    • Link.
When running the window/page or when printing the report, the caption corresponding to the runtime language of project (of window, page or report) will be automatically used.

To enter multilingual captions in a control

  • 1st method:
    1. Open the control description (select "Description" in the context menu).
    2. Enter the caption for each language supported by the window, page or report ("Caption" option).
  • 2nd method:
    1. Select the language in which the caption must be modified: on the "Display" tab, in the "Options" group, expand "Language displayed" and select the desired language.
    2. Select the control. The selection handles appear around the control.
    3. Click the control again. The mouse cursor turns into an input cursor.
      • in a window:
        Typing a caption in a window
      • in a report:
        Typing a caption in a report
      • in a page:
        Typing a caption in a page
    4. Enter the new control text.
    5. Validate the input by pressing the Enter key.
    6. Repeat the previous operations for all languages supported by the window, the page or the report.
Multilingual input and display masks

Overview

For the following types of controls, a different input mask or display mask can be defined for each language supported by the window, the page or the report:
  • Controls in a window:
    • combo box,
    • edit control,
    • table column.
  • Controls in a page:
    • formatted display control,
    • edit control,
    • table column.
  • Controls in a report:
    • Static control,
    • Calculated control,
    • Preset control,
    • table column.
For example, if your application supports French and English, the display mask for the "date" controls will not be the same in each language ('DD/MM/YY' in French and 'MM/DD/YY' in English).
When running the window/page or when printing the report, the mask corresponding to the runtime language of project (of window, page or report) will be automatically used. For more details, see Input masks and display masks.
WINDEVWEBDEV - Server codeWindowsJavaUser code (UMC)

Using multilingual input or display masks (numeric values)

To use multilingual input or display masks (numeric values):
  1. Open the project description: on the "Project" tab, in the "Project" group, click "Description".
  2. In the "Languages" tab, define the options for each language.
    To do so, select the desired language and choose the desired options for each type of numeric data. By default, the Windows language options are selected.
    For each type of numeric data, you have the ability to define the parameters that will be applied (decimal separator, thousand separator, currency symbol, time format, AM or PM symbol, ...).
    Validate the project description window.
  3. In each numeric edit control or table column (in the windows or pages), you have the ability to select "Mask defined by the project". In this case, depending on the language used when running the application, the mask used will be the one specified in the project options.
    Remark: The "Mask defined by the project" option is selected by default when creating new controls.
    Benefit: This option allows you to automatically use the same multilingual configuration in all numeric controls of application. The management of the multilingual formats is centralized in the project description.
Caution: The reports do not use this management mode (see the paragraph below).

Using multilingual input or display masks (special cases)

In some specific cases, the masks defined in the project description may not correspond to the requested result. In this case, you have the ability to define a specific multilingual mask.
To use multilingual input or display masks (special cases):
  1. Open the control description (select "Description" in the context menu).
  2. Click found beside the "Input mask" or "Mask" combo box ("General" or "Details" tab). By default, the same mask is associated with all the languages supported by the window, the page or the report.
  3. Select the mask for each language supported by the window, the page or the report.
  4. Validate. The "Multilingual value" caption appears in the control for defining the masks.
Remark: This operation can also be performed in the report controls. In this version, the controls in a report do not use the language options defined at project level.
Multilingual images

Overview

For the following types of controls, a specific image can be defined for each language supported by the window, the page or the report:
  • Controls in a window:
    • background image of buttons, sliders or tab panes.
    • image associated with the caption of button controls.
    • image of cursor in the slider controls.
    • image of image controls.
  • Controls in a page:
    • background image of button controls.
    • image of image controls, clickable image controls
    • background images of cell controls.
  • Controls in a report:
    • background image of all types of controls excluding the bar codes, the charts or the radio buttons.
    • image of image controls.
This option is useful for images with text that must be translated, for example.
When running the window/page or when printing the report, the mask corresponding to the runtime language of project (of window, page or report) will be automatically used.

Managing multilingual images

To manage multilingual images:
  1. Open the control description (select "Description" in the context menu).
  2. Click found beside the "Image" or "Background image" option ("General" or "Style" tab), then select the "Multilingual" option.
    By default, the same file is associated with all languages supported by the window, page or report.
  3. For each language, click the button, "Browse" option, and select the image corresponding to the language.
    Remark: The display options (display mode, transparency, position and symmetry) are applied to all selected images.
  4. Validate. The "Multilingual value" caption appears in the description of the image.
Multilingual help
WINDEVWindowsJavaUser code (UMC) In the window controls, for each language supported by the window, you have the ability to define:
  • a different help message.
  • a different tooltip.
  • a different text for the help window.
When running the window, the help corresponding to the runtime language of the project (or window) will be automatically used.
WINDEV Mobile The help windows are not available.
WINDEVWindowsJavaUser code (UMC)

Managing a multilingual help system

To manage a multilingual help system:
  1. Open the control description (select "Description" in the context menu).
  2. Display the "Help" tab.
  3. Enter the help message, the tooltip, the title and the text of the help window for each language supported by the window.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment