Doc: @snippets links are broken when translated

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Doc: @snippets links are broken when translated

Valentin Villenave-2
Greetings everybody,

some translated doc pages have broken @snippet links; for example if
you follow the link at the bottom of
http://lilypond.org/doc/v2.15/Documentation/notation/expressive-marks-as-curves.de.html
you'll see that it points to
http://lilypond.org/doc/v2.15/Documentation/snippets/ausdrucksbezeichnungen
which doesn't exist (node names are not supposed to be translated in URLs).

However, this isn't the case in other sections: for example at the bottom of
http://lilypond.org/doc/v2.15/Documentation/notation/piano.fr.html
It points to the right address:
http://lilypond.org/doc/v2.15/Documentation/snippets/keyboards

Cheers,
Valentin.


Reply | Threaded
Open this post in threaded view
|

Re: Doc: @snippets links are broken when translated

Francisco Vila

Thank you Valentin, I will try to do something about that on Sat or Sun, not before. Sorry, stupid micro Android keyboard here.

El 28/06/2011 19:05, "Valentin Villenave" <[hidden email]> escribió:
> Greetings everybody,
>
> some translated doc pages have broken @snippet links; for example if
> you follow the link at the bottom of
> http://lilypond.org/doc/v2.15/Documentation/notation/expressive-marks-as-curves.de.html
> you'll see that it points to
> http://lilypond.org/doc/v2.15/Documentation/snippets/ausdrucksbezeichnungen
> which doesn't exist (node names are not supposed to be translated in URLs).
>
> However, this isn't the case in other sections: for example at the bottom of
> http://lilypond.org/doc/v2.15/Documentation/notation/piano.fr.html
> It points to the right address:
> http://lilypond.org/doc/v2.15/Documentation/snippets/keyboards
>
> Cheers,
> Valentin.
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Doc: @snippets links are broken when translated

Jean-Charles MALAHIEUDE
In reply to this post by Valentin Villenave-2
Le 28/06/2011 19:05, Valentin Villenave disait :

> Greetings everybody,
>
> some translated doc pages have broken @snippet links; for example if
> you follow the link at the bottom of
> http://lilypond.org/doc/v2.15/Documentation/notation/expressive-marks-as-curves.de.html
> you'll see that it points to
> http://lilypond.org/doc/v2.15/Documentation/snippets/ausdrucksbezeichnungen
> which doesn't exist (node names are not supposed to be translated in URLs).
>
> However, this isn't the case in other sections: for example at the bottom of
> http://lilypond.org/doc/v2.15/Documentation/notation/piano.fr.html
> It points to the right address:
> http://lilypond.org/doc/v2.15/Documentation/snippets/keyboards
>

Just because I use
@rlsrnamed{Keyboards, Claviers}

to have it labeled in French even if the target wont be translated.
I often adopt the same behaviour with @rglosnamed instead of @rglos.

Cheers,
Jean-Charles


Reply | Threaded
Open this post in threaded view
|

Re: Doc: @snippets links are broken when translated

Valentin Villenave-2
On Wed, Jun 29, 2011 at 7:42 PM, Jean-Charles Malahieude
<[hidden email]> wrote:
> Just because I use
> @rlsrnamed{Keyboards, Claviers}
> to have it labeled in French even if the target wont be translated.

Clever. Then we'd probably need to harmonize this policy through the
docs, since even in French the last link at the bottom of
http://lilypond.org/doc/v2.15/Documentation/notation/expressive-marks-as-curves.fr.html
doesn't use @rlsrnamed

Is this policy advertised in the CG? I couldn't find it. (I could
provide a patch but for now it's safer to open a tracker page if it's
deemed worth one.)

Cheers,
Valentin.