GNOME Bugzilla – Bug 688886
Improve the i18n documentation
Last modified: 2012-11-22 22:10:59 UTC
The documentation doesn't explain clearly which gettext functions must be called for an application or a library. I'll attach a patch.
Created attachment 229653 [details] [review] Improve i18n documentation Clearly explain which gettext functions must be called. It depends whether the program is an application or a library.
Review of attachment 229653 [details] [review]: looks okay to me. ::: glib/ggettext.c @@ +486,3 @@ + * For a library, you only have to call bindtextdomain() and + * bind_textdomain_codeset() in your initialization function. If your library + * doesn't have an initialization function, call the functions lazily before the I'd use "you can call the function before the first translated message" instead.
OK, thank you for the review. I've fixed and pushed the commit.