bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect links in explicitly localized documentation


From: Hans Aikema
Subject: Re: Incorrect links in explicitly localized documentation
Date: Wed, 01 Feb 2012 21:52:14 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0

On 1-2-2012 21:18, James wrote:
Hello,

On 1 February 2012 20:06, Hans Aikema<address@hidden>  wrote:
When explicitly browsing to a specific-language version of the userguides the
internal links link to the 'browser preferred language' version of the Userguide
rather than the currently displayed version

E.g. when browsing to
http://lilypond.org/doc/v2.14/Documentation/learning/index.nl.html
with an 'accepted languages most significant preference for English' language
settings in the browser the displayed page is in Dutch, but all followed links
lead to the English version of the documentation.

One would expect that if a given page is in Dutch and the link-texts are in
Dutch than the linked pages will also appear in Dutch.

Allthough only a minor issue (can be resolved by modifying a browser's preferred
language sequence), it's still quite an annoyance when one surfs by default
using English (because of the many poorly translated sites one wants to avoid)
but with a google search arrives at the Dutch documentation pages to then be
presented only links for English-language versions of the Documentation pages.
http://code.google.com/p/lilypond/issues/detail?id=1441

I think this is the tracker for this

--

James
.

Not quite... if I interpret that issue correctly that issue says 'If we link to an untranslated page the link-text also becomes untranslated, it should be possible to have a localized link-text to link to an untranslated page'. (Such an untranslated My issue is that when I am on a translated page and a translated page for a link-target exists, but my browser preferred language is set to English I get redirected to the English page. The issue you point to makes me believe that, at least for the Dutch translations, there is indeed an error: namelijk not including the -nl suffix on macro calls for links to already translated pages.

For example:

On http://lilypond.org/doc/v2.14/Documentation/learning/index.nl.html there is 
a link '1. Leerboek' in the table of contents pointing to
http://lilypond.org/doc/v2.14/Documentation/learning/tutorial

which with a browser-preferred language of English leads the webserver to serve 
up
http://lilypond.org/doc/v2.14/Documentation/learning/tutorial.html

allthough there IS a localized Dutch page for this link-target:
http://lilypond.org/doc/v2.14/Documentation/learning/tutorial.nl.html

The webserver is doing it's job in serving up the 'preferred language'-version 
of the requested source, but being explicitly on the Dutch-language version of 
the Documentation I would expect the links to make my browser explicitly 
request the Dutch-language version of the resource whenever available.

Regards,
Hans




reply via email to

[Prev in Thread] Current Thread [Next in Thread]