Skip to main content
Skip table of contents

Configuration Adjustments

Set the Default Database Language

If you have set up Metadata Server to provide multilingual databases to your users, you may wish to set the default database language. This is the language that will be used automatically if the user does not choose a language.

This step is only required for SuperCROSS. SuperWEB2 automatically selects an appropriate default language based on the list of accepted languages sent by the user's browser. See Multilingual and Localisation Support for more details.

The default language is controlled by a setting in the metadata.config.xml configuration file, located in the SuperCROSS program data directory (by default C:\ProgramData\STR\SuperCROSS).

To change the setting:

  1. Open metadata.config.xml in a text editor.
  2. Locate the following section:

    XML
            <KEY name="Default">
                <STRING name="Desc">desc</STRING>
                <STRING name="Language">en</STRING>
                <STRING name="Link">link</STRING>
                <STRING name="Name">name</STRING>
            </KEY>
  3. Change the Language setting to the code for your preferred default language. For example:

    XML
            <KEY name="Default">
                <STRING name="Desc">desc</STRING>
                <STRING name="Language">de</STRING>
                <STRING name="Link">link</STRING>
                <STRING name="Name">name</STRING>
            </KEY> 
  4. Save your changes.
  5. Restart Metadata Server, the SuperWEB2 service and SuperCROSS (as applicable) to apply the change.

Set the Language Display Names

When Metadata Server is set up, SuperCROSS allows users to change the table language by selecting from the File > Table Language menu. The names of the table languages displayed in SuperCROSS are defined in the SuperCROSS metadata.config.xml file, located in C:\ProgramData\STR\SuperCROSS by default.

The keyword table takes precedence over any keywords defined in the SuperWEB2 database_labels.properties files. If a keyword is defined in both places, then the value from the Metadata database will be used. If the keyword is not defined in the metadata database then SuperWEB2 will fall back to the value in the properties file.

It is not necessary to configure the language display names for the drop-down list in SuperWEB2. SuperWEB2 automatically sets the language names based on the language code. For this reason, if you are using SuperWEB2 you must use the correct two character ISO 639-1 language codes when setting up your metadata database.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.