User Nnino and I have completed the automated translation of the phrases
displayed by the template, MasterTOC ("Next page", for example). The
template now processes a new parameter line, "|Lang=XX", where "XX" is
the (case-sensitive) ISO code for the desired output. This defaults to
"Lang=en", so no changes are required in existing calls.
For wiki-documents that use chapter templates, the "Lang" parameter goes
in those templates, where they call MasterTOC, rather than on each page.
In order to provide translated phrases, an auxiliary template for the
language code must be created. As of this announcement, only two are
available: English (en) and German (DE). See [1] for an up-to-date list.
See [2] for instructions on creating a new template.
Please report any problems on this list. --/tj/
[1] http://wiki.services.openoffice.org/wiki/Category:Documentation/TOC
[2]
http://wiki.services.openoffice.org/wiki/Template:Documentation/TOC/TOC_en
--
T. J. Frazier
Melbourne, FL
(TJFrazier on OO.o)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@documentation.openoffice.org
For additional commands, e-mail: dev-h...@documentation.openoffice.org