PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • How to proceed?
  • Extracting messages added or modified since last extraction
  • Extraction parameters
  • Extraction parameters for a translation software
  • Notes
  • Format of text file of messages
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
A project was already created and translated.
Your project has evolved: new elements (windows, pages, reports, ...) have been created and/or existing elements have been modified.
In this case, there is no need to extract all messages: simply extract the messages that correspond to new elements and/or modified elements.
You can extract the added or modified messages: the new extraction file will contain all messages added and modified since the last extraction.
How to proceed?

Extracting messages added or modified since last extraction

To extract messages added or modified since the last extraction:
  1. Open your project in WINDEV, WEBDEV or WINDEV Mobile: on the "Home" pane, in the "General" group, expand "Open" and select "Open a project".
  2. Start WDMSG: on the "Project" pane, in the "Translate" group, expand "Translate" and select "Extract messages".
  3. Select the languages of the messages to extract. These languages correspond to the languages already available in the project, to be translated into other languages.
    Choosing the extraction languages
    The languages proposed are those defined in the "Languages" tab of the project description.
    Remarks:
    • The name of custom languages is also proposed.
    • To display the project description, go to the "Project" pane, "Project" group, and click on "Description".
    • To select multiple extraction languages, use Ctrl and/or Shift.
  4. Go to the next step of the wizard.
  5. If you have selected several languages, specify the reference language, i.e. the language used during the development. Messages from this reference language must be translated into other languages.
  6. Go to the next step of the wizard.
  7. Select the different elements (windows, pages, reports...) whose messages (caption, code message...) must be extracted.
    Choosing elements to extract
    Remark: If the elements of your project are grouped by custom-folders, the elements proposed by WDMSG will also be grouped by custom-folders.
  8. Go to the next step.
  9. Choose the type of file to generate:
    Choosing the type of file
    • WDMSG archive. This type of file can only be used to perform a translation with WDTRAD.
    • HFSQL file. This type of file can only be used to perform a translation with WDTRAD.
    • Text file. This type of file can be used to perform a translation with WDTRAD or with another translation software.
  10. Go to the next step.
  11. Select the parameters of result file, created by the extraction (see Details of parameters).
  12. Go to the next step.
  13. Select "Extract the modified or added messages only".
  14. Specify the initial extraction file (messages neither translated nor corrected) and the new extraction file that will only contain the new or modified messages.
    The extraction file is created in the selected directory (project directory by default).
    This file can be translated with a specific translation software (file in text format only) or with WDTRAD, the translation tool supplied with WDMSG.
  15. Validate.

Extraction parameters

The extraction parameters common to all extraction file types are as follows:
  • Keep the hotkey indicator ("&") in the extracted messages : this parameter allows you to include the "&" character in the captions of controls to specify the control hotkey.
    Reminder: This hotkey is used to directly position on the control at run time by pressing Alt + Letter. In the control caption, any letter preceded by the "&" character automatically becomes the control "hotkey".
  • Transform the hard-coded strings into multilingual strings: Two types of character strings are found in the code:
    • the multilingual character strings. These strings are followed by a flag:
    • the non-multilingual character strings (also called "hard coded"). These strings are enclosed in quotes.
    By default, only the multilingual character strings are extracted. To extract non-multilingual character strings from the code, check "Transform all hard-coded strings into multilingual string". These strings will automatically become multilingual strings when they are reintegrated.
  • Convert to OEM format (ANSI by default): if this option is enabled, the text of the extraction file will be in OEM format (format of DOS characters, usable with a DOS software); otherwise, the text will be in ANSI format (format of Windows characters, usable with a Windows software.
You can also define parameters specific to your own translation software (see next paragraph).

Extraction parameters for a translation software

The following parameters are not required if you are using WDTRAD to translate the messages found in your project.
If you are using another translation software, specific parameters must be defined (these parameters may differ according to the software used). The parameters specific to the translation software used are as follows:
  • Add a delimiter for the text sections not to translate: with some translation software, sections of text can be ignored in the document to translate. For example, the comments generated by WDMSG can be ignored. To do so, the text sections to ignore must be enclosed in delimiters (specific to the software).
    If this option is enabled, all the sections of text specific to the format of the extraction file will be enclosed in delimiters (SSTRX by default) and they will not be translated.
    See the documentation about the translation software for more details.
  • Add a space before the delimiter: with some translation software, a space must be added before the delimiter.
    If this option is enabled, a space character is added before the delimiter.
  • Add a space after the delimiter: with some translation software, a space character must be added after the delimiter.
    If this option is enabled, a space character is added after the delimiter.
  • Add additional information in comment: if this option is enabled, comment lines will be added into the created extraction file. These lines are used to find out the origin of messages (messages associated with a control, a window, ...).
Notes

Format of text file of messages

The extraction file created by WDMSG uses a specific format. See the format of text files of messages for more details.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment