[mb-devel] How do you translate foreign artist names to english - a la Picard.

Paul Taylor paul_t100 at fastmail.fm
Sun Apr 6 20:17:47 UTC 2008


Thanks kuno

that makes sense, (I thought it was using an alias but it didnt seem to 
be using the first one)

Paul

Kuno Woudt wrote:
> Hello,
>
> On Sun, Apr 06, 2008 at 08:17:55PM +0100, Paul Taylor wrote:
>   
>> Hi I would like to add this facility to Jaikoz Tagger, but not sure what 
>> is the correct way to get the 'English' name from the XMLWebservice
>>
>> take this Japanese Artist 
>> http://musicbrainz.org/ws/1/artist/b6c18308-82c7-4ec1-a42d-e8488bce6618?type=xml&inc=aliases
>>
>> The first question is how do I decide when a name has to be translated, 
>> Im doing it by trying to encode the name using the IS08859-1 charset , 
>> so its more a translate non-latin name to latin, is this right.
>>     
>
> I believe picard uses a similar test.  Picard uses the sortname, and 
> will swap the order of lastname, firstname if a comma is present in 
> the sortname (So in this case, you would get "Maaya Sakamoto" as the 
> latin1 name).
>
> Obviously, this is a hack, and will be fixed in some way at some point 
> in the future :)
>
> -- kuno / warp.
>
>
>
>   




More information about the MusicBrainz-devel mailing list