UPDATED xubuntu.ent, internet.xml, internet-C.omf
Matthew East
mdke at ubuntu.com
Thu Sep 13 06:50:35 UTC 2007
Hi,
On 12/09/2007, Jim Campbell <jwcampbell at gmail.com> wrote:
> On 9/12/07, fijam7 at gmail.com <fijam7 at gmail.com> wrote:
>
> > > well, i don't think that will work, because you hardcoded the language
> > > ('C') in the link. it works, but only for english.
> > >
> > > in our previous documentation, we had links like these:
> > >
> > > <xref linkend="root-and-sudo"/>
> > >
> > > which would link to other sections with the given id tag, like:
> > >
> > > <sect2 id="root-and-sudo">
> > >
> > > shouldn't it work like that? i mean, we used to have the documentation
> > > split up in different files before, and it worked with xrefs. but i see
> > > that the build works slightly different now, since we don't seem to
> > > include the all sub-pages into one big XML anymore. (maybe we should,
> > > though, since we need to come up with a front page (table of contents)
> > > to display in firefox?).
> > >
> > > luzi
> >
> > The concerns that you are raising are absolutely right but I haven't
> > got the foggiest idea how to handle this situation. Xrefs do not work
> > for separate files (I've checked it by building xubuntu documentation,
> > and Mdke confirms that) and I do not know how to fix it in e.g
> > building process. I am afraid someone more experienced with this has
> > to sort it out.
> >
> > Sorry I cannot help here.
> > Jan
>
> Would a link like this work?
>
> <ulink
> url="ubuntu/serverguide/&language;/index.html">HTML</ulink>
>
> It appears as though the '&language;' portion of that link would allow for
> the appropriate language coding to be included during the build process.
No, that won't work either: during the translation process we expand
out entities when the translation template is created. We tried doing
it the other way (not expanding them) but it introduced a shedload of
problems.
What you'll need is a script that detects the links and modifies them
to insert the correct language id.
--
Matthew East
http://www.mdke.org
gnupg pub 1024D/0E6B06FF
More information about the ubuntu-doc
mailing list