Re: [Vala] internalization



Am Donnerstag, den 04.02.2010, 19:57 +0100 schrieb giuliano manzitti:
Hi at all...
i'm a newbie in Vala programming...
so..I ask u if exist a good and possibly simple guide about the gettext and
vala.
if u can link a guide....:)))

Just write your code, and use '_' for translated strings. When
compiling, add -DGETTEXT_PACKAGE="<your package name here>" to the
CFLAGS. 

Until valadoc.org is online again,
http://library.gnome.org/devel/glib/2.22/glib-I18N.html should help you
a bit, in combination with looking at the functions in glib-2.0.vapi.

Regards,
Julian
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.





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