Product Information > JADE Development Environment User’s Guide > Chapter 11 - Internationalization > Cloning Locale Forms and Strings

Cloning Locale Forms and Strings

Use the Clone Locale Forms and Strings sheet of the Locales dialog to specify that one locale (the clone locale) uses the forms and strings of another locale.

Making a locale the clone of another locale is useful if you want to be able to distinguish between the two locales at run time but you want them to share form and string translations. For example, Windows supports several English locales, including English (United Kingdom), English (Australia), and English (New Zealand).

You might want to distinguish between all of these locales at run time in order for your application to customize some behavior based on the country. However, as all of these locales are English, you probably want only one set of English translations of your forms and strings. In this case, you would make two of the locales clones of the third locale. You can then differentiate between all three locales at run time, but you have only one set of form and string translations to maintain.

Before you can create clones, a schema must support at least two locales, one of which must not be inherited.

To specify that a locale is to be a clone of another locale

  1. Click the Clone Locale Forms and Strings sheet in the Locales dialog.

    The Clone Locale Forms and Strings sheet, shown in the following diagram, is then displayed.

  2. In the Selected Locales list box, select the locale that you want to make the clone of another locale.

  3. In the Make Clone Of combo box, select the locale from which the selected locale is to be cloned. For example, if you want to make Austrian German forms and strings clones of the German (Germany) locale, select German (Austria) in the Selected Locales list box and then select German (Germany) from the Make Clone of combo box. To make Swiss German a clone of German (Germany), do the same for the German (Switzerland) locale.

  4. Repeat steps 2 and 3 of this instruction for all locales that you want to make clones.

  5. Click the OK button. Alternatively, click the Cancel button to abandon your selections.

When a locale is made the clone of another locale, any form and string translations that exist for that locale are then deleted.

When a locale has been selected from which to clone forms and strings, the selected locale is then displayed as a subset of the locale of which it is a clone; as shown in the following diagram.

To specify that a locale is no longer to be a clone

  1. Click the Clone Locale Forms and Strings sheet in the Locales dialog.

  2. In the Selected Locales list box, select the locale that you no longer want to be a clone.

  3. In the Make Clone of combo box, select (Not Cloned).

  4. Click the OK button. Alternatively, click the Cancel button to abandon your selections.

When a locale is uncloned, its form and string translations are restored, by copying the form and string translations of the locale of which it was a clone.