- www/<lang>/share/sgml/templates.usergroups.xsl:
customization layer for each language.
- www/<lang>/share/sgml/usergroups.xml:
translation of www/share/sgml/usergroups.xml. The translation teams
can simply copy it from the language-independent directory and keep
the translated items only; items which are not in the translated
file are automatically inserted from the original file on the
fly (so old items in the translated file are harmful).
news items and putting them into the localized web pages.
If the translation is available it will be used, otherwise
the original (English) version of the news item will be used.
- The structure of transtable.xml is revised. <word> should be
bracketed with <group>.
- A sorting order of the FreeBSD mirror sites rendered using
mirrors.xml has been determined by sort(1).
- A template "transtable-lookup" has been added for localization on
word-by-word basis.
- Replace English month names in news.xml, press.xml, and
advisories.xml with numbers that correspond to the names.
The number->name translation is performed on the fly.
- Since information in mirrors.xml is used in www/ tree, it depends on
doc/ tree now. When WITHOUT_DOC is defined it can be built without
doc/ tree, but some information becomes unavailable. For example,
a list of the mirror sites generated in index.html becomes a dummy
one, and calling "transtable-lookup" with a word returns the word
itself.
Neither www/ nor doc/ build should be broken due to this commit, but
until the necessary changes are applied in the localized directories,
the transtable does not work; it simply generates non-localized contents
even if transtable.xsl is used.
- add doc.common.mk, which defines variables, targets, and
dependencies commonly used in www/ and doc/.
- move www/<lang>/includes.xsl to the language independent
directory and split into several files.
- add transtable*.xsl and transtable.xml to support localized
mirror names.
- make doc/{en_US.ISO8859-1,ja_JP.eucJP}/books/handbook/ use
mirrors.xml (mirrors and eresources).
- make www/{en,ja}/index.xsl use mirrors.xml.
For details, please see doc/share/sgml/README.mirrors for the moment.
Reviewed by: simon and Alex Dupre <sysadmin@alexdupre.com>
to process generated HTML. This not cause any side effects except
leaving some character entities in their numeric form instead
converting them into alphabetical notation (< instead of <),
but since all browsers understand such cases it is not a problem.
This commit should make all translations tidy clean, since
tidy should not arise entities conversion problem as it did
for long time before. Therefore all occurences of manual settings
of TIDYFLAGS and NO_TIDY declarations for translations are removed.
Also clean *OPTS/*FLAGS variables declaration like it was done in doc/ tree
some time ago. Currently all local additions to commands parameters that used
in make process should be passed thru *FLAGS variables. All variables
with OPTS suffix are reserved for internal use of web.site.mk now.
Cleanup part is based on work done by Cyrille Lefevre <clefevre-lists@noos.fr>
No objections from: -doc
Requested by: Russian and Japanese translation teams
1.55 -> 1.58 Makefile
1.95 -> 1.100 index.sgml
1.201 -> 1.206 support.sgml
1.88 -> 1.91 projects/projects.sgml
1.55 -> 1.58 search/search.sgml
1.17 -> 1.18 tutorials/index.sgml
- Add &enbase; into "prehtml" script to support not-translated
docs. This was defined in ja/tutorials/index.sgml only.
Prehtml now requires at least two arguments "localtop" and
"relative path from localtop". Using prehtml w/ and w/o a option
-revcheck, we don't need a definition of &base; in individual
SGML files because prehtml generates it automatically (of course,
it doesn't break build process of conventional docs).
1. Add .sgml -> .revinc rule in web.mk. This tells how to make SGML
include file which contains revision information.
2. Add ja/revcheck script. This script makes revision information
from English SGML file and localized one.
3. Add *.revinc files into GENDOCS in localized Makefile. This will
generate *.revinc files from each *.sgml files.
4. Add %rev.diff entity into localized includes.sgml.
5. Add statement to include *.revinc for each *.sgml files.
(this will be followed separately.)
Reviewed and not objected by: Doc Team