PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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 run time, 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 runtime language of the project is defined in the project description ("Project .. Project description ", "Languages" tab). See Multilingual applications for more details.Reminder: The default runtime language of project is defined in the project description:
  • on the "Project" pane, in the "Project" group, click "Description".
  • display the "Languages" tab.
See Multilingual applications for more details.
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,
    • ...
  • Report controls:
    • 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. Display the control description ("Description" from the popup 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 ("Display .. Language displayed...").Select the language in which the caption must be modified: on the "Display" pane, in the "Options" group, expand "Language displayed" and select the requested 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. Type the new caption of control.
    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:
  • Window controls:
    • combo box,
    • edit control,
    • table column.
  • Page controls:
    • formatted display control,
    • edit control,
    • table column.
  • Report controls:
    • Item control, 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. See Input masks and display masks for more details.
WINDEVWEBDEV - Server codeWindowsWindows MobileJavaUser code (UMC)

Using multilingual input or display masks (numeric values)

To use multilingual input or display masks (numeric values):
  1. Display the project description ("Project .. Project description").Display the project description: on the "Project" pane, in the "Project" group, click "Description".
  2. In the "Languages" tab, define the corresponding linguistic options for each language. To do so, select the requested language in the table of languages and choose the requested options for each type of numeric data. The linguistic options selected by default are the ones of Windows.
    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 description window of project.
  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.
    Note: 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. Display the control description ("Description" from the popup 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.
Note: This operation can also be performed in the report controls. In this version, the report controls ignore the linguistic 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:
  • Window controls:
    • 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.
  • Page controls:
    • background image of button controls.
    • image of image controls, clickable image controls
    • background images of cell controls.
  • Report controls:
    • 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 when the images contain a 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 the multilingual images:
  1. Display the control description ("Description" from the popup menu).
  2. Click found beside the "Image" or "Background image" option ("General" or "Border, Bckgrd" tab).
    By default, the same file is associated with all languages supported by the window, page or report.
    Click found beside the "Image" or "Background image" option ("General" or "Style" tab).
    By default, the same file is associated with all languages supported by the window, page or report.
    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 and select the image corresponding to the language.
    Note: The display options (display mode, transparency, position and symmetry) are applied to all selected images.
    For each language, click the button, "Browse" option, and select the image corresponding to the language.
    Note: 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
WINDEVWindowsWindows MobileJavaUser 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.
WINDEVWindowsWindows MobileJavaUser code (UMC)

Managing a multilingual help system

To manage a multilingual help system:
  1. Display the control description ("Description" from the popup 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 required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment