7.5 Languages

This section details how multilingual support is defined by entries in the collection configuration file, and shows how to modify such settings using the Language section sub-view.

Contents
Simple instructions
  Language controls
  Add language
  Remove language
  Set default language
  Clear default language
Advanced instructions
  Translate assigned text fragments
Simple Instructions:

Directly below the instruction text area is the control used to select a language. To the right is a list of currently supported languages and a field showing the default. At the bottom are four buttons for manipulating assignments.

To add a new language to those we wish to publish a collection in, first select the desired language from the Language to add ComboBox control. These values come from a file called language.dat in the Librarian Interface's install directory. Once a language is chosen, press [A]dd Language to add it to the list of supported languages.

Removing language support is just as easy. Select the language you wish to remove from the list, then click [R]emove Language.

The default language is set by selecting it from the list of supported languages, then clicking [S]et Default Language. The name of the chosen language will appear in the default language field.

To reset the default language, click [C]lear Default Language.

Advanced Instructions:

There is one remaining button, [T]ranslate Assigned Text Fragment. This opens a new prompt box containing three entry areas and a list titled 'Affected Features' on the left. If you select a feature from this list, the panels to the left will change.

The top area, titled 'Assigned Languages', displays a table with two columns. The first is the languages you have chosen to support; the second is the text fragment for the associated feature, in each language. The central text shows the fragment associated with the default language for this collection. This may be blank, but is more likely to be a value that you entered previously. It is used as a reference when translating text fragments. The bottom pane will remain blank until you select a row from the Assigned Languages table. Then, it shows the previous string entered for this language and this feature (if any). To add or edit the text for the chosen row, click within the editable bottom text area and type as desired. As you type, the fragment entry within the table changes to reflect what you have typed. However, the reference text area does not change, even if you are editing the default language text fragment. Changes to the default language will be committed only when you select a different language.