You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by André Malo <nd...@perlig.de> on 2003/05/17 16:49:51 UTC
[translations] refinement of cross-language links
I've tried to improve the cross language links (currently 2.1 only, see
httpd.apache.org/docs-2.1/).
The attached patch adds a hreflang attribute to the links (at least gecko
browsers do evaluate it) and adds a title attribute which displays the
native name of the language.
Note that the particular langname attributes in the $lang.xml files should
contain the native name then for this purpose (e.g. "Deutsch" for German).
This works fine with the browsers - if the output encoding cannot represent
the native language name, the chars are transformed to character references
(&#xxx;). In the worst case (no appropriate font installed) it would be
displayed as question marks or something, I'd guess.
Opinions?
nd
--
sub the($){+shift} sub answer (){ord q
[* It is always 42! *] }
print the answer
# Andr� Malo # http://pub.perlig.de/ #
Re: [translations] refinement of cross-language links
Posted by Astrid Keßler <ke...@kess-net.de>.
It is a little bit difficult for me (as often) to put my mind into
words, because of previous offline discussions. *sigh*
+1 for the cross language links. I'm using them with the 2.0 docs at my
local installation and wouldn't miss them anymore. (And I wish I could
give the neccessary +1 vote to backport this to 2.0, but I'm not a
developer - or could I?)
>> My one suggestion would be to move the available languages section up into
>> the same line as the breadcrumbs (Apache > HTTP Server ...).
> I've also thought about such a movement. That position seems to be good, but
> there are (at least) two conflicts. (1) long breadcrumb paths and (2) the
> sidebar - if the window is smaller, the sidebar coveres this corner a bit.
> ([3]) we may decide to put smaller links there, like [PDF] or whatever, or
> perhaps better: This seems also to be a good place for a link to a feedback
> mail address ...
Same thoughts from me. The space will become lean, if we get much more
translations (I hope so). And the upcoming link(s) to other
documentation formats like PDF have to be placed somewhere too. While
these are small links, it's better to put them at the right side of the
breadcrumb line. So we have not much choices to place the cross
translation links. I want them to be visible at the "head" of the page.
So I'm +1 for the location below the page title.
Kess
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: [translations] refinement of cross-language links
Posted by André Malo <nd...@perlig.de>.
* Joshua Slive wrote:
> think it will give much more visibility to the translation projects, and
> hence attract more translators.
Yes, probably.
> My one suggestion would be to move the available languages section up into
> the same line as the breadcrumbs (Apache > HTTP Server ...).
I've also thought about such a movement. That position seems to be good, but
there are (at least) two conflicts. (1) long breadcrumb paths and (2) the
sidebar - if the window is smaller, the sidebar coveres this corner a bit.
([3]) we may decide to put smaller links there, like [PDF] or whatever, or
perhaps better: This seems also to be a good place for a link to a feedback
mail address ...
(Apart from the question what we'll do, when the number of translations is
raised a bit :)
nd
--
package Hacker::Perl::Another::Just;print
qq~@{[reverse split/::/ =>__PACKAGE__]}~;
# André Malo # http://pub.perlig.de #
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org
Re: [translations] refinement of cross-language links
Posted by Joshua Slive <jo...@slive.ca>.
On Sat, 17 May 2003, André Malo wrote:
> I've tried to improve the cross language links (currently 2.1 only, see
> httpd.apache.org/docs-2.1/).
> The attached patch adds a hreflang attribute to the links (at least gecko
> browsers do evaluate it) and adds a title attribute which displays the
> native name of the language.
Great stuff. I hope we can figure out a way to get this into 2.0 soon. I
think it will give much more visibility to the translation projects, and
hence attract more translators.
My one suggestion would be to move the available languages section up into
the same line as the breadcrumbs (Apache > HTTP Server ...).
Joshua.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org