OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] Customizing Generated Text with No Context

|  -----Original Message-----
|  From: John Green 
|  However, the text I want to customize doesn't seem to have a 
|  context. I want to customize the "Table of Contents" string 
|  to "Contents". I found the gentext entry for 
|  "TableofContents" in en.xml, and it seems to be outside of 
|  any <l:context> element. 
|  How do I make the code work without specifying a context? I 
|  tried removing the l:context lines, and I tried setting the 
|  l:template name attribute to "", "/", and ".", but nothing 
|  works. How do I do this?

Just use <l:gentext>:

 <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0";>
  <l:l10n language="en">
   <l:gentext key="TableofContents" text="Contents"/>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]