Localizing native dialogs?
Ian Britten
britten at caris.com
Tue Mar 13 10:44:18 PDT 2007
Grzegorz Adam Hankiewicz wrote:
>> I've been having success localizing a small application/utility of
>> mine, so that it works with different languages (and under the
>> corresponding locale, etc). All the various labels of my main
>> application automatically change to the requested language, the
>> orientation (L-to-R, R-to-L) changes, etc, all as expected. :)
>
> I am interested. Where could I read about more of this? So far the only
> thing I've noticed is
> http://www.wxwidgets.org/wiki/index.php/Internationalization pointing to
> a thread of 2003.
I got most/all of the info I needed from:
http://www.wxwidgets.org/manuals/stable/wx_internationalization.html#internationalization
http://www.wxwidgets.org/manuals/stable/wx_nonenglishoverview.html#nonenglishoverview
> I don't know what is required to have a dialog working
> R-to-L, how would I mark images or bitmaps with words to avoid being
> mirrored, and more importantly, how could I simulate this to test the
> application.
My app/dialog flipped automatically - I didn't do anything (other
than run in an Arabic Locale). [ Note I'm using wxGTK ]
I haven't had to deal with artwork/icons yet, but I'm hoping that
http://www.wxwidgets.org/manuals/stable/wx_wxartprovider.html#wxartprovider
will insulate me from some/most of the problems (Esp. since the GTK
Stock Icons seem to support RTL variants. See
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Stock-Items.html)
Hope this helps!
Ian
More information about the wx-users
mailing list