Re: Improving documentation & I18N

"Victor Mierla" <[email protected]> Sat, 11 Oct 2008 19:34:20 +0300
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <[email protected]>

There are different ways for internationalizing your messages :

For example GTK-source-code-way : 
there must file called gtkintl.h in gtkextra directory which must be included 
by all *.c files and translation is made using this macro P_().For example.
 P_("The pack direction of the menubar"),


Or we could use simple gettext way : 
#include <libintl.h>
#include <locale.h>

#define  _(x)  gettext (x)
#define P_(x)  x
nd translation is made  using this macro P_().For example.
P_("/_Edit/Find...")

I propose we use GTK way , i think it's more portable.
What do you say Dan , do you agree?


Best regards
Victor



--------------------------------------------------

Flash.ro - Best free webmail service hosted by Idilis
.........................................................
Idilis - Internet Provider :: www.idilis.net
Inchiriem conexiuni radio si in zone neracordate la coloana - Broadband Wireless Idilis -




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/