Localizing message components of a form view
Use the AR System Message Catalog form to override system default messages with equivalent localized or customized entries. If a localized version for any message type is not found in the AR System Message Catalog form, AR System loads the system default message.
When a user is logged in to multiple servers, AR System first retrieves localized messages from the preference server. If no preference server is available, it uses the first localized server found in the user's server list.
By default, when the AR System server reads a system message (type 0) from the AR System Message Catalog form, it caches the message text in memory to avoid reading the message from the database each time the message is needed. To modify this default behavior, see the "Localized-Messages-To-Cache" in Configuration-settings-E-M.
To localize messages automatically
- Use a browser to export messages in the AR System Message Catalog form to an .arx file.
- Translate the messages in the .arx file.
- With Remedy Data Import, import the messages into the AR System Message Catalog form.
For information about using Remedy Data Import, see Importing data into AR System forms. - To indicate that system default messages should be overridden:
- In a browser, open the AR System Administration: Server Information form.
- Click the Advanced tab.
- Select the Localize Server check box.
To localize messages manually
- In a browser, open the AR System Message Catalog form.
- Enter or select the appropriate data for the following fields:
- Message Type—The type of message you are localizing.
Message Identifier—The object whose messages you are localizing. The following table lists the information you can enter.
For this Message Type:
Enter this message identifier:
System message
The error number
Active link message
The name of the active link
Active link help text
The name of the active link
List menu definition (character menu)
The character menu name
Filter message
The name of the filter
Form help text
The name of the form you are localizing
Field help text
The name of the form you are localizing
Container description
The name of the container
Container label
The name of the container
Container help text
The name of the Container
External report
The name of the active link that the External Report is linked to
Application help
The name of the application
Application about
The name of the application
Application help index
The name of the application
Flashboards system message
The name of the flashboard
Flashboards label
The name of the flashboard
- Locale—The locale for the message. Enter the locale following the format: language_country.
To find a list of acceptable entries for this field, open any form in Developer Studio, and locate the Locale view property. This property lists all of the available locales.
It is best to enter only the language portion, allowing for all country variations of a language. For example, an entry of fr includes all country variations of French. - Status— The status of localized messages to be retrieved. The options are:
- Active—Enables a message for retrieval.
- Inactive—Does not allow the server to access the message even if the server is set as localized.
- Field ID or Msg Num— The field identifier or message number.
- To find the field ID, in Developer Studio, select the field, and view the ID property in the Properties tab.
- To find the message number, open the corresponding If Action or Else Action panel of the corresponding active link or filter.
For external reports, enter the file ID. Support files are saved according to object name and file ID. The file ID differentiates between multiple support files when more than one file or report is associated with a single active link. You can identify how many reports or files are associated with an active link, and then enter the appropriate number; for example 1, 2, and so on. Another solution to finding the file ID is to export the active link and review the .def file.
- Progressive Views Form View Id—Specify the view ID (Create, Edit or View).
In SmartIT if you have enabled Progressive views, the text that you enter in the Message text box is added to the field whose ID you specified in the Field Id or Msg Num box in the view that you specified in the Progressive Views Form View Id box. - Return Type—Identifies whether text or file is returned when the message is called.
Message Text—The text that is returned when Return Type is text and appears in the message, help text, label, description, or menu. The default size of the text string is 255 bytes and is defined in the ar.h file as AR_MAX_MESSAGE_SIZE on the AR System server. Messages larger than 255 bytes might include an embedded colon after 255 bytes.
For list menus definitions (character menus), the format is the same as a file menu. Each line in the file contains a definition of a menu entry in the following format:label\valueIf you want to include an entry ID in a message in Message 1100, enter the %s variable. For example, enter the following text in the localized language: The entry was successfully created with ID = %s When you enter the message for your localized application, %s becomes the entry ID: The entry was successfully created with ID = 000000000000551
Binary Attachment—The file that is returned when Return Type is Binary Attachment.
The following table describes the type of files you might attach to this field.For this Message Type:
Attach this file:
External Report
The localized report
Application Help
A help file (.hlp ) Application help refers to the file attached in the Help Text panel of the application in Developer Studio.
Application About
An image file (.bmp, . jpeg, . jpg, .dib )
Application Help Index
A help index file (.cnt ) The .cnt file is the contents file used in conjunction with the application help (.hlp ) file. Both files are used together only if the locale is matched between them; otherwise, only the help file is used.
- Datatag - This is an optional field and is used to tag the configuration records with the module for which the configuration record is created. For example: config-fnd, and config-hpd.