Where to place links

> Now for the question, in your dealings with I18N/L10N of web sites, which
is
> the better syntax for the original language
>
>      1. Leave hyperlink text phrase as embedded in
>         the text body, and deal with the split text
>         on a case-by-case basis (i.e. if phrases are
>         kept short, this should not happen very often.)?
>
>      2. Pull hyperlink text phrase out of the body of
>         the text and have them as separate entities?

I suspect it depends to a large extent as to whether the resource being
referenced is available in multiple languages or not. If the content of the
hyperlink is the title or URL of a monolingual resource then it should be
kept in the file. If the resource is one that has different versions for
different languages with different titles for each version, then a
translation is needed for both the title and the URL. Whether this is done
inside or outside of the relevant resource may depend on the translation
technique. In the future we will be able to do this using XML extended links
to identify all possible translations of a given link. In a project I am
working on at present for XML/EDI we are using XSLT to control this process,
using the in-line link to point to a separate resource that contains
pointers to all the translations of the link, and then using the language
property of the parent document to select among these entries. We are doing
this using XML files without any links, but with an XSLT template that
handles elements known to behave as mutlilingual links in ways that are
specific to the application. Details of this technique will shortly be made
public. (I'm reviewing the draft document later today!)

Martin Bryan
-----------------------------------------------------------------

Martin Bryan, 29 Oldbury Orchard, Churchdown, Glos GL3 2PU, UK
Phone/Fax: +44 1452 714029 E-mail: mtbryan@sgml.u-net.com
For more information about The SGML Centre contact
http://www.sgml.u-net.com
For more information about the European Commission's
Open Information Interchange (OII) initiative contact
http://www.echo.lu/oii/en/oiistand.html
For more information about the ISIS XML/EDI Project contact
 http://www.tieke.fi/isis-xmedi

Received on Tuesday, 14 December 1999 03:44:43 UTC