X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0c9c28efcd43f53ac54aa60b2dfefa69c70dbadf..6b6d9b29e9e9e91f79507a8bf193fb30de311dcc:/doc/help/xslt/params/l10n.gentext.use.xref.language.xml diff --git a/doc/help/xslt/params/l10n.gentext.use.xref.language.xml b/doc/help/xslt/params/l10n.gentext.use.xref.language.xml new file mode 100644 index 00000000..d70017af --- /dev/null +++ b/doc/help/xslt/params/l10n.gentext.use.xref.language.xml @@ -0,0 +1,53 @@ + + +l10n.gentext.use.xref.language +boolean + + +l10n.gentext.use.xref.language +Use the language of target when generating cross-reference text? + + + + + + + + +Description + +If non-zero, the language of the target will be used when +generating cross reference text. Usually, the current +language is used when generating text (that is, the language of the +element that contains the cross-reference element). But setting this parameter +allows the language of the element pointed to to control +the generated text. + +Consider the following example: + + +<para lang="en">See also <xref linkend="chap3"/>.</para> + + + +Suppose that Chapter 3 happens to be written in German. +If l10n.gentext.use.xref.language is non-zero, the +resulting text will be something like this: + +
+See also Kapital 3. +
+ +Where the more traditional rendering would be: + +
+See also Chapter 3. +
+ +
+