Last modified: 2014-04-07 15:43:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49604, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47604 - Score should support note names in other languages
Score should support note names in other languages
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Score (Other open bugs)
unspecified
All All
: Normal enhancement with 5 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-24 12:09 UTC by Ayack
Modified: 2014-04-07 15:43 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ayack 2013-04-24 12:09:20 UTC
LilyPond supports notes names in many languages (1) and specialist notations (2). The file "italiano.ly" is particularly useful because many countries use solmization systems and not the alphabetic system (3) which seems to be the only one supported in this extension. Could you add the support of LilyPond language files please? Thanks in advance.

1) http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Writing-pitches#Note-names-in-other-languages
2) http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Specialist-notation.html
3) https://en.wikipedia.org/wiki/Key_signature_names_and_translations
Comment 1 Bawolff (Brian Wolff) 2013-05-11 10:15:45 UTC
Hmm, including files, even things like italiano.ly currently gets disabled via -dsafe

I suppose we could manually include them in a preprocessing step if they're from a list of safe sources, or something like that.
Comment 2 Ayack 2013-05-12 09:01:20 UTC
It would be great!

The files "italiano.ly" and "gregorian.ly" (imho the most useful) are standard LilyPond files, so they shouldn't be a security problem.
Comment 3 Ayack 2013-08-24 16:45:24 UTC
Is anyone willing (and able) to include these files as explained by Bawolff please?
Comment 4 jeanluc.thiebaut@advalvas.be 2013-12-16 09:07:48 UTC
In the case of  "italiano.ly", 
this file contains only (useful lines)  : \language "italiano"

The following code should work :

<score>
\language "italiano"
\relative do' {do4 mi sol do}
</score>
Comment 5 Yann Forget 2013-12-16 19:10:17 UTC
This is important for a good localisation of the Score extension. Other languages than English should be able to use their local notation. Thanks, Yann
Comment 6 Ayack 2013-12-16 19:28:21 UTC
(In reply to comment #5)
> This is important for a good localisation of the Score extension. Other
> languages than English should be able to use their local notation. Thanks,
> Yann

Yes, and please do not forget "gregorian.ly" which would allow us to make available many medieval pieces.
Comment 7 Rickard Lind 2013-12-16 19:37:49 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > This is important for a good localisation of the Score extension. Other
> > languages than English should be able to use their local notation. Thanks,
> > Yann
> 
> Yes, and please do not forget "gregorian.ly" which would allow us to make
> available many medieval pieces.

I think "gregorian.ly" should be High priority!
Comment 8 Andre Klapper 2013-12-16 23:56:50 UTC
If there is no separate feature request for gregorian.ly, please file one as it's a separate issue. See https://www.mediawiki.org/wiki/How_to_report_a_bug for general information. it It won't be high priority as per https://www.mediawiki.org/wiki/Bugzilla/Fields#Priority but providing patches speeds up the process.
Comment 9 Bawolff (Brian Wolff) 2013-12-17 00:39:14 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > This is important for a good localisation of the Score extension. Other
> > > languages than English should be able to use their local notation. Thanks,
> > > Yann
> > 
> > Yes, and please do not forget "gregorian.ly" which would allow us to make
> > available many medieval pieces.
> 
> I think "gregorian.ly" should be High priority!

Its unlikely we are going to rewrite lillypond's safemode. Sorry.
Comment 10 Rickard Lind 2013-12-17 15:14:27 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > (In reply to comment #5)
> > > > This is important for a good localisation of the Score extension. Other
> > > > languages than English should be able to use their local notation. Thanks,
> > > > Yann
> > > 
> > > Yes, and please do not forget "gregorian.ly" which would allow us to make
> > > available many medieval pieces.
> > 
> > I think "gregorian.ly" should be High priority!
> 
> Its unlikely we are going to rewrite lillypond's safemode. Sorry.

Then it is a LilyPond issue to incorporate the features of gregorian.ly into the regular interpreter. Am I right? Then it should be a LilyPond feature request.
Comment 11 Andre Klapper 2013-12-17 15:46:46 UTC
Lilypond feature requests must go to http://code.google.com/p/lilypond/issues/list instead.
Comment 12 Ayack 2014-03-28 15:32:26 UTC
(In reply to Rickard Lind from comment #10)
> (In reply to comment #9)
> > (In reply to comment #7)
> > > (In reply to comment #6)
> > > > (In reply to comment #5)
> > > > > This is important for a good localisation of the Score extension. Other
> > > > > languages than English should be able to use their local notation. Thanks,
> > > > > Yann
> > > > 
> > > > Yes, and please do not forget "gregorian.ly" which would allow us to make
> > > > available many medieval pieces.
> > > 
> > > I think "gregorian.ly" should be High priority!
> > 
> > Its unlikely we are going to rewrite lillypond's safemode. Sorry.
> 
> Then it is a LilyPond issue to incorporate the features of gregorian.ly into
> the regular interpreter. Am I right? Then it should be a LilyPond feature
> request.

I'm not sure, but it seems that this feature was incorporated in LilyPond in 2010: https://code.google.com/p/lilypond/issues/detail?id=903

This issue should be solved for a while then, but it is still present. How is it possible?
Comment 13 Rickard Lind 2014-03-28 15:55:55 UTC
(In reply to Ayack from comment #12)
> (In reply to Rickard Lind from comment #10)
> > (In reply to comment #9)
> > > (In reply to comment #7)
> > > > (In reply to comment #6)
> > > > > (In reply to comment #5)
> > > > > > This is important for a good localisation of the Score extension. Other
> > > > > > languages than English should be able to use their local notation. Thanks,
> > > > > > Yann
> > > > > 
> > > > > Yes, and please do not forget "gregorian.ly" which would allow us to make
> > > > > available many medieval pieces.
> > > > 
> > > > I think "gregorian.ly" should be High priority!
> > > 
> > > Its unlikely we are going to rewrite lillypond's safemode. Sorry.
> > 
> > Then it is a LilyPond issue to incorporate the features of gregorian.ly into
> > the regular interpreter. Am I right? Then it should be a LilyPond feature
> > request.
> 
> I'm not sure, but it seems that this feature was incorporated in LilyPond in
> 2010: https://code.google.com/p/lilypond/issues/detail?id=903
> 
> This issue should be solved for a while then, but it is still present. How
> is it possible?

The code included with \include "italiano.ly" was apparently quite simple code unlike gregorian.ly and fixed with a new \lanugage command. This does not include what is in gregorian.ly. See: https://codereview.appspot.com/2699041/
Comment 14 Ayack 2014-03-28 16:48:07 UTC
(In reply to Rickard Lind from comment #13)
> (In reply to Ayack from comment #12)
> > (In reply to Rickard Lind from comment #10)
> > > (In reply to comment #9)
> > > > (In reply to comment #7)
> > > > > (In reply to comment #6)
> > > > > > (In reply to comment #5)
> > > > > > > This is important for a good localisation of the Score extension. Other
> > > > > > > languages than English should be able to use their local notation. Thanks,
> > > > > > > Yann
> > > > > > 
> > > > > > Yes, and please do not forget "gregorian.ly" which would allow us to make
> > > > > > available many medieval pieces.
> > > > > 
> > > > > I think "gregorian.ly" should be High priority!
> > > > 
> > > > Its unlikely we are going to rewrite lillypond's safemode. Sorry.
> > > 
> > > Then it is a LilyPond issue to incorporate the features of gregorian.ly into
> > > the regular interpreter. Am I right? Then it should be a LilyPond feature
> > > request.
> > 
> > I'm not sure, but it seems that this feature was incorporated in LilyPond in
> > 2010: https://code.google.com/p/lilypond/issues/detail?id=903
> > 
> > This issue should be solved for a while then, but it is still present. How
> > is it possible?
> 
> The code included with \include "italiano.ly" was apparently quite simple
> code unlike gregorian.ly and fixed with a new \lanugage command. This does
> not include what is in gregorian.ly. See:
> https://codereview.appspot.com/2699041/

Maybe, but "italiano.ly" is not working either...
Comment 15 Rickard Lind 2014-03-28 16:50:46 UTC
(In reply to Ayack from comment #14)
> (In reply to Rickard Lind from comment #13)
> > (In reply to Ayack from comment #12)
> > > (In reply to Rickard Lind from comment #10)
> > > > (In reply to comment #9)
> > > > > (In reply to comment #7)
> > > > > > (In reply to comment #6)
> > > > > > > (In reply to comment #5)
> > > > > > > > This is important for a good localisation of the Score extension. Other
> > > > > > > > languages than English should be able to use their local notation. Thanks,
> > > > > > > > Yann
> > > > > > > 
> > > > > > > Yes, and please do not forget "gregorian.ly" which would allow us to make
> > > > > > > available many medieval pieces.
> > > > > > 
> > > > > > I think "gregorian.ly" should be High priority!
> > > > > 
> > > > > Its unlikely we are going to rewrite lillypond's safemode. Sorry.
> > > > 
> > > > Then it is a LilyPond issue to incorporate the features of gregorian.ly into
> > > > the regular interpreter. Am I right? Then it should be a LilyPond feature
> > > > request.
> > > 
> > > I'm not sure, but it seems that this feature was incorporated in LilyPond in
> > > 2010: https://code.google.com/p/lilypond/issues/detail?id=903
> > > 
> > > This issue should be solved for a while then, but it is still present. How
> > > is it possible?
> > 
> > The code included with \include "italiano.ly" was apparently quite simple
> > code unlike gregorian.ly and fixed with a new \lanugage command. This does
> > not include what is in gregorian.ly. See:
> > https://codereview.appspot.com/2699041/
> 
> Maybe, but "italiano.ly" is not working either...

Does \language "italiano" work?
Comment 16 Ayack 2014-03-28 17:01:24 UTC
(In reply to Rickard Lind from comment #15)
> (In reply to Ayack from comment #14)
> > (In reply to Rickard Lind from comment #13)
> > > (In reply to Ayack from comment #12)
> > > > (In reply to Rickard Lind from comment #10)
> > > > > (In reply to comment #9)
> > > > > > (In reply to comment #7)
> > > > > > > (In reply to comment #6)
> > > > > > > > (In reply to comment #5)
> > > > > > > > > This is important for a good localisation of the Score extension. Other
> > > > > > > > > languages than English should be able to use their local notation. Thanks,
> > > > > > > > > Yann
> > > > > > > > 
> > > > > > > > Yes, and please do not forget "gregorian.ly" which would allow us to make
> > > > > > > > available many medieval pieces.
> > > > > > > 
> > > > > > > I think "gregorian.ly" should be High priority!
> > > > > > 
> > > > > > Its unlikely we are going to rewrite lillypond's safemode. Sorry.
> > > > > 
> > > > > Then it is a LilyPond issue to incorporate the features of gregorian.ly into
> > > > > the regular interpreter. Am I right? Then it should be a LilyPond feature
> > > > > request.
> > > > 
> > > > I'm not sure, but it seems that this feature was incorporated in LilyPond in
> > > > 2010: https://code.google.com/p/lilypond/issues/detail?id=903
> > > > 
> > > > This issue should be solved for a while then, but it is still present. How
> > > > is it possible?
> > > 
> > > The code included with \include "italiano.ly" was apparently quite simple
> > > code unlike gregorian.ly and fixed with a new \lanugage command. This does
> > > not include what is in gregorian.ly. See:
> > > https://codereview.appspot.com/2699041/
> > 
> > Maybe, but "italiano.ly" is not working either...
> 
> Does \language "italiano" work?

No. I tried:

<score>
\language "italiano"
{ do re mi fa sol la si }
</score>

which generated:

Impossible de compiler le fichier d’entrée LilyPond :

Processing `.../file.ly'
Parsing...
.../file.ly:13:0: error: syntax error, unexpected '{'

{ do re mi fa sol la si }
.../file.ly:22:24: error: syntax error, unexpected '}'
                        
                        }error: failed files: ".../file.ly"

exited with status: 1


(Cf. https://fr.wikipedia.org/wiki/Utilisateur:Ayack/Brouillon/Score)
Comment 17 Ayack 2014-03-28 17:05:00 UTC
<score lang="italiano">
{ do re mi fa sol la si }
</score>

Doesn't work either.
Comment 18 jeanluc.thiebaut@advalvas.be 2014-03-29 06:07:44 UTC
"language" works when using raw mode :


<score raw vorbis>
\score {
<<
\language "italiano"
\relative do' { do re mib fad sol la sib do }
>>
  \layout { }
  \midi {  }
}
</score>
Comment 19 Ayack 2014-04-07 15:43:03 UTC
Ok, so, if I have understood correctly, the bug is: 

"Score should support the following languages in standard mode:
arabic.ly
catalan.ly 
deutsch.ly 
english.ly 
espanol.ly 
italiano.ly
nederlands.ly
norsk.ly
portugues.ly 
suomi.ly
svenska.ly 
vlaams.ly"

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links