Bug 104383 - Wish: Wikipedia language choice
Summary: Wish: Wikipedia language choice
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 108140 111010 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-22 18:07 UTC by Pascal Hartig
Modified: 2006-06-11 12:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch for amarok 1.3.7 for localization of Wikipedia fetching (7.11 KB, patch)
2006-01-02 21:22 UTC, Anthony Domi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Hartig 2005-04-22 18:07:47 UTC
Version:           CVS (using KDE KDE 3.4.0)
Installed from:    Gentoo Packages
Compiler:          gcc-Version 3.4.3-20050110 
OS:                Linux

I would like to have a locale choice like the different Amazon locales (International, German, ...) for the new Wikipedia tab.

Thank you and keep up your excellent work!
Comment 1 Mark Kretschmann 2005-04-22 18:24:49 UTC
Yep, this will be integrated, don't worry. The feature is only a couple of days old :)
Comment 2 Funda Wang 2005-06-06 22:41:36 UTC
I think current solution isn't what we want. You see, you have alwasy fetch the pages from en.wikipedia.org. But for those artists whose name are not in English (CJK), en.wikipedia returns nothing.

A better solution would be fetching from locale-dependent sub-sites according to the settings in Klocale. Say, I've selected Chinese and English in klocale as my preferred languages. amaroK should fetch pages in zh.wikipedia.org, then en.wikipedia.org if failed.
Comment 3 Michael Frister 2005-06-22 15:24:35 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Seb Ruiz 2005-06-26 01:42:18 UTC
*** Bug 108140 has been marked as a duplicate of this bug. ***
Comment 5 Seb Ruiz 2005-08-19 01:20:32 UTC
*** Bug 111010 has been marked as a duplicate of this bug. ***
Comment 6 Raphaël Pinson 2005-08-30 12:59:32 UTC
There could also be a setting in Amarok, so as to choose to use the KDE locales (from Accessibility) for wikipedia or to set other ones.
Comment 7 Didier Hérisson 2005-12-04 19:54:49 UTC
It would be even better to allow to search on many wikipedias: I'm usually listening a mix between US/en and fr music...
And the search should preferably be limited to the 'music' article... For the french band 'Tarmac', the search actually returns an english article explaining the interest of the 'tarmac' for roads, when an article for the right band exists in the french wikipedia, in the 'music' section.
Comment 8 Martin Aumueller 2005-12-12 01:00:27 UTC
SVN commit 487792 by aumuell:

switchable wikipedia locales
CCBUG: 104383


 M  +1 -0      ChangeLog  
 M  +154 -13   src/contextbrowser.cpp  
 M  +16 -1     src/contextbrowser.h  
Comment 9 Mark Kretschmann 2005-12-12 09:18:41 UTC
On Monday 12 December 2005 01:00, Martin Aumüller wrote:
> SVN commit 487792 by aumuell:
>
> switchable wikipedia locales
> CCBUG: 104383
>
>
>  M  +1 -0      ChangeLog
>  M  +154 -13   src/contextbrowser.cpp
>  M  +16 -1     src/contextbrowser.h


Nice :) So doesn't this mean we can close BUG 104383 fixed?
Comment 10 Martin Aumueller 2005-12-12 10:01:48 UTC
On 12/12/05, Mark Kretschmann <markey@web.de> wrote:
> On Monday 12 December 2005 01:00, Martin Aum
Comment 11 Funda Wang 2005-12-16 18:58:13 UTC
I think the more preferable solution is analyse the Unicode range of the combination of Artist, Album and Song title. The content must could be represented in some certain language. Then search the wikipedia in that language.
Comment 12 Martin Aumueller 2005-12-28 23:16:00 UTC
BTW, is there an easy way to know that there is no such wikipedia page when trying a lookup? Wikipedia just returns a valid html page.

As to guessing the language: this is quite impossible. E.g. German and English have many characters in common and many absolutely correct German titles only use characters that are also valid for English.
Comment 13 Anthony Domi 2006-01-02 21:22:25 UTC
Created attachment 14114 [details]
Patch for amarok 1.3.7 for localization of Wikipedia fetching

It is only consisting in using the i18n() function in contextbrowser.cpp and
update the po files
Comment 14 Mark Kretschmann 2006-01-02 21:35:40 UTC
Oh, we forgot to close, this. Sorry :) It's already implemented in 1.4.