[Sugar-devel] Localization of activity with ColorSelectionDialog

Aleksey Lim alsroot at member.fsf.org
Mon Jul 20 19:00:41 EDT 2009


On Mon, Jul 20, 2009 at 10:54:28AM +0300, Xenofon Papadopoulos wrote:
> Hello, I 'm using a gtk.ColorSelectionDialog in my activity, and whenever I
> run it all the text is in English, ignoring my Greek language settings.
> Apart from this, localization of my application works fine. How can I
> enforce Greek text on the ColorSelectionDialog?
> Thanks

ColorSelectionDialog is a part of gtk, so you need to install proper
i18n package.

But I guess the best option is using sugarized color picker[1]
form sugar.graphics.colorbutton module (you can find example in Write
activity[2]).

[1] http://wiki.sugarlabs.org/go/File:ColorToolButton.png
[2] http://git.sugarlabs.org/projects/write/repos/mainline/blobs/master/toolbar.py

-- 
Aleksey


More information about the Sugar-devel mailing list