new homepage update: localized links

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

new homepage update: localized links

Federico Bruni-3
Hi Masamichi

I have a question for you.
Why you made the below change?
The links must have the language extension, otherwise they will link to
the english page.
The current version on lilypond.org works fine in japanese, while the
french version doesn't work exactly because it doesn't use the fr.html
extension.

I'm missing something?

commit ce7f34abf6be2704616e4720f1ff6b557b601505
Author: Masamichi Hosoda <...>
Date:   Sun Oct 2 12:51:51 2016 +0900

    Web-ja: fix links

diff --git a/Documentation/ja/web.texi b/Documentation/ja/web.texi
index b8c6b6c..db9469f 100644
--- a/Documentation/ja/web.texi
+++ b/Documentation/ja/web.texi
@@ -171,17 +171,17 @@ LilyPond
は、いかなる種類の譜刻にも対応できる、@c
 例えば、
 
@uref{http://lilypond.org/examples.ja.html#g_t_30af_30e9_30b7_30c3_30af_97f3_697d,
クラシック音楽}
 (J. S. Bach 作の上の例のように)、
-@uref{examples.ja.html#g_t_8907_96d1_306a_697d_8b5c,
複雑な楽譜}、
-@uref{examples.ja.html#g_t_53e4_697d, 古楽}、
-@uref{examples.ja.html#g_t_73fe_4ee3_97f3_697d, 現代音楽}、
-@uref{examples.ja.html#g_t_30bf_30d6_8b5c, タブ譜}、
-@uref{examples.ja.html#g_t_58f0_697d, 声楽}、
-@uref{examples.ja.html#g_t_30ea_30fc_30c9_8b5c, リード譜}、
-@uref{examples.ja.html#g_t_6559_80b2, 教材}、
-@uref{examples.ja.html#g_t_5927_304d_306a_30d7_30ed_30b8_30a7_30af_30c8,
大きなオーケストラプロジェクト}、
-@uref{examples.ja.html#g_t_30ab_30b9_30bf_30de_30a4_30ba,
カスタマイズされた出力}、
+@uref{examples.html#g_t_8907_96d1_306a_697d_8b5c, 複雑な楽譜}、
+@uref{examples.html#g_t_53e4_697d, 古楽}、
+@uref{examples.html#g_t_73fe_4ee3_97f3_697d, 現代音楽}、
+@uref{examples.html#g_t_30bf_30d6_8b5c, タブ譜}、
+@uref{examples.html#g_t_58f0_697d, 声楽}、
+@uref{examples.html#g_t_30ea_30fc_30c9_8b5c, リード譜}、
+@uref{examples.html#g_t_6559_80b2, 教材}、
+@uref{examples.html#g_t_5927_304d_306a_30d7_30ed_30b8_30a7_30af_30c8,
大きなオーケストラプロジェクト}、
+@uref{examples.html#g_t_30ab_30b9_30bf_30de_30a4_30ba,
カスタマイズされた出力}、
 さらに
-@uref{examples.ja.html#Schenker-Graphs, Schenker graphs}
+@uref{examples.html#Schenker-Graphs, Schenker graphs}
 にも使えます。


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: new homepage update: localized links

Federico Bruni-3
Il giorno sab 15 ott 2016 alle 5:25, Masamichi Hosoda
<[hidden email]> ha scritto:

>>  Hi Masamichi
>>
>>  I have a question for you.
>>  Why you made the below change?
>>  The links must have the language extension, otherwise they will link
>>  to the english page.
>>  The current version on lilypond.org works fine in japanese, while
>> the
>>  french version doesn't work exactly because it doesn't use the
>> fr.html
>>  extension.
>>
>>  I'm missing something?
>
> If I understand correctly, `make doc' rewrites relative links.
>
> First, I used `examples.ja.html' for the relative links.
> But, the resulting html used `examples.ja.ja.html' for them.
>
> So I use `examples.html' for them.
> The resulting html uses `examples.ja.html'.
>
> On the other hand, French version uses `examples.html' for the
> relative links.
> The resulting html correctly uses `examples.fr.html'.
> But the fragment (something like `#Complex-Notation' etc.) is not
> translated.
> So the destination page is correctly French page but the position is
> wrong.

Thanks, you are right.
For the records, Jean-Charles fixed the other updated languages except
japanese. You'll take care of it?



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: new homepage update: localized links

Jean-Charles MALAHIEUDE
Le 17/10/2016 à 18:44, Federico Bruni a écrit :

> Il giorno sab 15 ott 2016 alle 5:25, Masamichi Hosoda ha scritto:
>>
>> If I understand correctly, `make doc' rewrites relative links.
>>
>> First, I used `examples.ja.html' for the relative links.
>> But, the resulting html used `examples.ja.ja.html' for them.
>>
>> So I use `examples.html' for them.
>> The resulting html uses `examples.ja.html'.
>>
>> On the other hand, French version uses `examples.html' for the
>> relative links.
>> The resulting html correctly uses `examples.fr.html'.
>> But the fragment (something like `#Complex-Notation' etc.) is not
>> translated.
>> So the destination page is correctly French page but the position is
>> wrong.
>
> Thanks, you are right.
> For the records, Jean-Charles fixed the other updated languages except
> Japanese. You'll take care of it?
>

It's now OK on lilypond.org.

I don't know if the erroneous anchoring I got Saturday on my local
website only came from replacing (for e.g. customized output)
#g_t_30ab_30b9_30bf_30de_30a4_30ba with #kasutamaizu

Cheers,
Jean-Charles


Loading...