TEI Stylesheet family - i18n.xsl

## The Text Encoding Initiative

# TEI Consortium XSLT stylesheets

Home | Guidelines | Projects | Tutorials | Software | History | FAQs | P5 | Consortium | Activities | SIGs | Join in/Contact | Members area
Stylesheet home page Summary Stylesheet List Template List

# i18n.xsl

TEI stylesheet definitions common for all of HTML, FO and LaTeX outputs
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Author:
See AUTHORS
CVS Id:
i18n.xsl 4801 2008-09-13 10:05:32Z rahtz
Copyright:
2008, TEI Consortium

## Parameters Summary

string doclang - source
The language the text is in (use ISO 2-letter codes)
documentationLanguage - source
No short description available
string lang - source
The language to use when generating text (use ISO 2-letter codes)

## Named Templates Summary

contentsHeading - source
[common] Prefix text before an auto-generated table of contents
contentsWord - source
[common] Title for "Contents"; by default uses language-specific lookup table.
feedbackWords - source
[common] Title for "Feedback"
i18n (param: word) - source
[common] give language-specific version of a word or phrase
myi18n (param: word) - source
[localisation] dummy template for overriding in a local system
searchWords - source
[common] Title for "Search"; by default uses language-specific lookup table.

## Parameters Detail

string doclang - source
The language the text is in (use ISO 2-letter codes)
Default: en
documentationLanguage - source
No short description available
Default: en
string lang - source
The language to use when generating text (use ISO 2-letter codes)
Default: en

## Named Templates Detail

contentsHeading - source
[common] Prefix text before an auto-generated table of contents
contentsWord - source
[common] Title for "Contents"; by default uses language-specific lookup table.
feedbackWords - source
[common] Title for "Feedback"
i18n (param: word) - source
[common] give language-specific version of a word or phrase
Parameters:
word - the word(s) to translate
myi18n (param: word) - source
[localisation] dummy template for overriding in a local system
Parameters:
word - the word(s) to translate
searchWords - source
[common] Title for "Search"; by default uses language-specific lookup table.