ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Tools / Translation tools / WDMSG
  • Overview
  • Example of file structure created by WDMSG
  • Text with multiple lines
  • RTF
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
Note This page describes the format of text files handled by WDMSG.
From version 15, you also have the ability to manage the HFSQL data files (to allow the management of large message files for example).
From version 19, you have the ability to support WDMSG files (to allow the management of Rich Text Areas).
The extraction file in HFSQL or MDMSG format can only be handled by WDTRAD supplied with WDMSG.
The text files created by WDMSG use a specific format. These text files include different lines.
Each line starts with:
  • "//" to indicate a comment,
  • a keyword that must not be modified.
Important: Keywords must not be modified, otherwise the translated or corrected file will not be reintegrated correctly.
Example of file structure created by WDMSG
The structure of a file created by WDMSG is as follows:
// NATION=5;ALPHA=0;LANG=12

// Project messages
MSG0:0=This is message #1 of project
MSG1:0=This is message #2 of project

// Window XXXX
FEN: Window name
TITLE:35=This is the window title
MSG0:0=This is the message #1 of window
MSG0:0=This is the second line of message #1 of window

// Description of controls
CHAMP:LISTE1
TEXTE:5=Title
CONTENU:10018=Mr
CONTENU:10018=Mrs
CONTENU:10018=Miss
NOTE:7=Note of control
LIBDOS:59=Text of documentation caption
AIDE:3=Text of help message
BULLE:4=Text of tooltip
CHAMP:ONGLET1
TEXTE:5=Text of the caption
AIDE:3=Text of tab tooltip
CHAMP:ONGLET1:0
TEXTE:5=Text of caption for the first tab pane
AIDE:3=Text of tooltip for the first tab pane
CHAMP:ONGLET1:1
TEXTE:5=Text of caption for the second tab pane
AIDE:3=Text of tooltip for the second tab pane

// Internal window XXXX
FIT: Internal window name
CHAMP:.Edit1
TEXTE:5=Text of caption for the internal window
Text with multiple lines
When a text is made of several lines (separated by "Carriage Return" characters (CR)), several lines must be written in the file with the same keyword.
For example, to get the following text:
"Line1 of the message" + CR + "Line1 (continued) of the message"
You must write:
MSG0:0=Line1 of message
MSG0:0=Line1 (continued) of message
RTF
For the RTF edit controls and static controls, the RTF tags are kept when the messages are checked out.
Note Under WDTRAD, to view messages in RTF format, select "View in file mode" from the message context menu.
For example, the text: "Enter your name"will correspond to:
TEXTE:5={\rtf1\ansi \deff0 \adeflang1033 {\fonttbl {\f0\froman Franklin;}
TEXTE:5={\f1\fmodern MS LineDraw;}{\f2\fdecor Symbol;
TEXTE:5={\colortbl;\red0\green0\blue0;\red0\green0\blue127;\red0\green127\blue0;\red0\
green127\blue127;\red127\green0\blue0;\red127\green0\blue127;\red127\green127\blue0;\r
ed127\green127\blue127;\red192\green192\blue192;\red0\green0\blue255;\red0\green255\bl
ue0;\red0\green255\blue255;\red255\green0\blue0;\red255\green0\blue255;\red255\green25
5\blue0;\red255\green255\blue255;}\linex0 \sbknone
TEXTE:5=\margl1800 \margr1800 \margt1440 \margb1440 \plain \fs18 \f0 \lang1036 \b \pard
\qj \li141 \fi-141 \sb40 Enter\lang1036 \plain \fs18 \lang1036 \pard \qj \li141 \fi-141
\sb40 \lang1036 \i \pard \qj \li141 \fi-141 \sb40 your\lang1036 \plain \fs18 \lang1036 \pard
\qj \li141\fi-141 \sb40 \lang1036 \ul \pard \qj \li141 \fi-141 \sb40 name\plain
\fs18 \lang1036
TEXTE:5==\par \ul }
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/26/2025

Send a report | Local help