Re: how to internationalize plugins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 02, 1999 at 04:57:34PM +0200, David Monniaux wrote:
> [Refer to, say, plug-ins/common/decompose.c for examples.]
> 
> Add:
> 
> I/ #include "libgimp/stdplugins-intl.h"
> 
> and a call to INIT_I18N() to the query() function
> and a call to INIT_I18N_UI() to the run() function.

INIT_I18N_UI should only be used if the plugin has a gtk interface (it
calls gtk_set_locale). Also, it needs to be done before gtk_init otherwise
something screwy happens to multibyte support.
 
-Yosh


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux