To add a string to the current schema
Click the Add button in the String Browser.
The Add String dialog, shown in the following image, is then displayed.
This form is also displayed when you select a property in the Translatable Property Browser in the JADE Painter. (For details, see "Using the Translatable Property Browser", in Chapter 5.)
In the Definition editor pane, specify the definition of the string.
The string name must begin with an uppercase character.
You can search for an existing string, to enable you to locate an existing string instead of having to define another string which may be the same or very similar to an existing string in the current schema (for example, when you use strings for error messages or form labels in an application). For details, see "Searching for Text in Existing Strings", later in this chapter. See also "Searching for Strings that Reference the Current String", later in this chapter.
The string formats are:
string-name = "string-definition" string-name(a,b) = a & "string-definition" & b
The following examples are strings defined in these formats.
MyString1 = "Bonjour" MyString2(a,b) = a & "Bonjour" & b
You can search for text in existing strings in the schema, and then copy text from a similar string that is located into the editor pane of the Add String dialog. (For details, see "Searching for Text in Existing Strings", later in this chapter.)
When you have defined your string, perform one of the following actions.
Click the OK button to return to the String Browser.
Click the Next button, to display an empty editor pane to enable you to define your next string.
Click the Cancel button, to abandon your string and return to the String Browser.
When a string is added, it is added to all locales supported by the schema. However, when a string has been added, it can be translated independently for each locale.