Ok, thank you Jonas!
There's a third option I like more:
3) mandatory translation of search-box.ihtml (it's already in the
list
of files to be translated in the CG manual)
I may contact the cs translator to get it translated and/or ask for
help on lilypond-user.
Il giorno ven, dic 18 2020 at 22:25:48 +0100, Jonas Hahnfeld
<hahnjo@hahnjo.de> ha scritto:
> There's no Documentation/cs/search-box.ihtml, so IIRC lilypond-
> texi2html.init searches for the fallback in Documentation/. Now we
> could of course adapt this check, but this feels odd from a
language
> perspective. Two more ideas:
> 1) Adapt the check-translation script
> 2) Also add a symlink from Documentation/search-box.ihtml to
> en/search-
> box.ihtml.
>
> WDYT?
> Jonas
>
> Am Freitag, dem 18.12.2020 um 21:05 +0000 schrieb Kevin Barry:
> > Hi Federico,
> >
> > I don't know anything about this part of the code, but the
relevant
> > errors
> > from the doc build pipeline seem to be:
> > no such file: search-box.ihtml: No such file or directory at
> >
/builds/lilypond/lilypond/Documentation/lilypond-texi2html.init line
> > 836.
> >
/builds/lilypond/lilypond/build/.././Documentation/GNUmakefile:246:
> > recipe for target 'out-www/cs/web-big-page.html' failed
> >
> > Does that point you in the right direction?
> >
> > Kevin
> >
> > On Fri, 18 Dec 2020 at 20:27, Federico Bruni
<fede@inventati.org>
> > wrote:
> > >
> > > I've just submitted a MR:
> > > https://gitlab.com/lilypond/lilypond/-/merge_requests/545
> > >
> > > but it doesn't pass the doc build pipeline.
> > >
> > > It worked for me on my computer, even though only english
docs
> > were
> > > built.
> > > Basically I just added 'en' to the LY_LANGUAGES variable
before
> > the
> > > other languages are appended.
> > >
> > > Any advice is welcomed! :-)
> > >
> > >
> > >
> > > Il giorno mer, dic 9 2020 at 00:38:05 +0100, Federico Bruni
> > > <fede@inventati.org> ha scritto:
> > > > Any reason why search-box.ihtml is in Documentation/
instead of
> > > > Documentation/en?
> > > > It seems it's causing troubles to the check-translation
script:
> > > >
> > > > $ cd Documentation
> > > > $ make ISOLANG=fr check-translation | grep 'diff --git'
> > > > warning: fr/search-box.ihtml: 128 fatal: path
> > > > 'Documentation/en/search-box.ihtml' does not exist in
'HEAD'
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
>