About Arbortext Styler > Arbortext Styler Dialog Boxes > Stylesheet Properties Dialog Box > Stylesheet Properties — Language
  
Stylesheet Properties — Language
The Language tab of the Stylesheet Properties dialog box permits you to configure language settings for your stylesheet. You can display it by invoking the Stylesheet Properties dialog box and selecting the Language tab, or by choosing the Tools > Language Properties menu option in Arbortext Styler.
The Language tab provides the following options:
Document language specification: provides fields for you to configure the methods of defining language throughout a document.
Default language: specifies the default document language of documents formatted with this stylesheet. Select a language from the drop down list or enter the language code manually.
When you create a new stylesheet, this value will initially be set to the language of the current locale of the operating system.
The value set here will be used as a fallback setting if the document language is not specified within the document scope.
A document’s default document language setting is used when assessing how the document should be hyphenated, when the Language field for hyphenation in the Breaks category is set to (Use document language).
Language attribute name: the attribute in the document that provides language information. The attribute specified here will be analyzed on the nearest ancestor to the current element.
When an Arbortext Styler stylesheet is in use, the value of its Language attribute name field supersedes the value of the languageAttribute setting in a document’s DCF file.
Generated text: specify the languages to be observed when translating generated text.
Source language: specifies the language in which generated text is authored.
When you create a new stylesheet, this value will initially be set to the language of the current locale of the operating system.
Target languages: specifies the languages for which generated text can be exported for translation. Translations for these languages can then subsequently be imported and correctly matched to the source.
Add: open the Add Target Language dialog box, in which you can specify a target language.
Delete: delete the selected target language from the stylesheet.
See Removing a Target Language and Associated Translations in Language Settings for Generated Text Translation for the implications of doing this if your stylesheet includes translations for that language.
When multiple target languages are specified, the document language of the input document at the point generated text is inserted determines the language of the generated text in the output document.
Refer to Converting a Target Language into the Source Language in Language Settings for Generated Text Translation for information on how to make one of the configured target languages into the source language for generated text.
Refer to Removing a Target Language and Associated Translations in Language Settings for Generated Text Translation for information on how to delete target languages when they have current translations.
Document language mapping: enter aliases for language codes that could be encountered in the documents formatted via the Arbortext Styler stylesheet. This option is useful if your documents contain general or non-standard language codes.
Add: open the Document Language Mapping dialog box, in which you can create a mapping to one of the provided languages
Edit: open the Document Language Mapping dialog box to edit an existing language mapping
Delete: delete the selected language mapping
Initial mappings are provided in new stylesheets to cover some common cases.
Refer to Language Settings for further information on the language settings and language mappings for a stylesheet.