Amarok scripting: how to get Amarok or KDE current language?
Alexander Potashev
aspotashev at gmail.com
Thu Sep 16 18:49:42 CEST 2010
Hi,
The script Ultimate Lyrics
(http://kde-apps.org/content/show.php/Ultimate+Lyrics?content=108967)
has a bug: it does not use proper translations, because it relies upon
the QLocale.system().name() call, which returns the system locale. It
always returns "C" for me.
The best solution, I think, would be using the current Amarok
language. How can it be determined from an Amarok script (written in
JavaScript)?
--
Alexander Potashev
More information about the Amarok-devel
mailing list