cvs commit: www/en Makefile index.xsl navigation.xmlwww/share/mk web.site.mk www/share/sgml includes.misc.xsl

Alex Dupre ale at FreeBSD.org
Mon Feb 2 06:56:28 PST 2004


Hiroki Sato wrote:

>  Hmmm, is it enough that an item (label and URL) can be overridden
>  accordingly?  I think localization can be archived using language-independent
>  navigation.xml and optional, localized one (not that the localized
>  one should be removed completely).  The localized one is used to override
>  items in the language-independent one, so two of the $base are different from
>  each other (resolved independently) and no broken link can appear; it
>  should likely a link to an English contents.

Yes, this is a good idea. Basically the localized navigation.xml will 
only override links to localized web pages (i.e. set right base path) 
and the transtable will do the translations, right? If you can do it, 
you are welcome :-)

>  If using the localized one only, modification to includes.misc.xsl easily
>  breaks the build.  This is what I learned from the advisories.xml case.

Yep, too true :(

--
Alex Dupre



More information about the cvs-doc mailing list