Blig

May 24, 2009

Testing your app in a different language

Filed under: Uncategorized — by suasol @ 2:34 pm

I’m ashamed to say that I don’t know much about translating apps, even after writing an app with  over 30 translations. When you’re part of the gnome project, they just appear by magic and I have had my head somewhat in the sand since when trying to test I invariably got:

% LANG=otherlang.utf8 ./myprog
(process:20007): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

A little googling led to various command line invocations of locale-gen & suggestions of hand editing config fies by people who didn’t understand it all either.

So I’m glad to say that all thats needed (in ubuntu 9.04 anyway) is really to check a few boxes in

System->Administration->Language Preferences->Install/Remove Languages
Advertisements

May 10, 2009

Hide files in nautilus by glob pattern

Filed under: Uncategorized — by suasol @ 11:13 am

Bye-bye *.pyc

http://bugzilla.gnome.org/show_bug.cgi?id=311010#c10

May 1, 2009

Grid now part of official compiz distribution

Filed under: Projects — by suasol @ 7:07 pm
Tags: , ,

Yay, it’s official.

BTW if you need to compile for older distros, the source location is now http://cgit.compiz.org/compiz/plugins/grid Note that you’ll need an older version (e.g the “compiz-0.8” tag) to work with your older compiz.

Create a free website or blog at WordPress.com.