|
|
|
|
|
- Which syntax to use?
- Managing the space characters
- Displaying a message in an unavailable language
MessTranslate (Function) In french: MessTraduit
Warning
From version 26, this function is kept for backward compatibility. It is recommended to enter the message directly in the code. For more details, see Translation of programming messages.
Retrieves a message found in the code of a program in the current language. Remark: It's advisable to use multilingual strings directly in the code.
Info(MessTranslate(FEN_Menu, 2100))
Info(MessTranslate(2100))
Syntax
Retrieving the message corresponding to the identifier (compatibility with version 5.5) Hide the details
<Result> = MessTranslate(<Message number>)
<Result>: Character string Sought message in the current language. <Message number>: Integer Number of the message to display:- Number between 1 and 500 inclusive: the resource is searched for in the project.
- Number between 2000 and 2499 inclusive: the resource is searched in the current window.
- Number between 5000 and 5499 inclusive: the resource is searched for in the current class.
Remarks We recommend that you use the first syntax. To find resources whose identifiers are greater than the above-mentioned limits, you must use the first syntax. Managing the space characters The space characters entered at the end of messages are ignored. For example: "Customer: " becomes "Customer:".. To force one or more space characters at the end of a message, you must use the non-breaking space character (Alt+0160, the 0 in front of 160 is mandatory).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|