After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 742972 - ggettext: Include an example of setlocale() and friends in the i18n docs
ggettext: Include an example of setlocale() and friends in the i18n docs
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2015-01-15 14:22 UTC by Philip Withnall
Modified: 2015-01-15 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ggettext: Include an example of setlocale() and friends in the i18n docs (2.08 KB, patch)
2015-01-15 14:22 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2015-01-15 14:22:24 UTC
Simple patch attached, as discussed with desrt on IRC.
Comment 1 Philip Withnall 2015-01-15 14:22:26 UTC
Created attachment 294598 [details] [review]
ggettext: Include an example of setlocale() and friends in the i18n docs

Include an example main() function, and include a link to the gettext
manual’s section on integrating gettext with build systems.

That should work as a complete reference for how to add i18n support to
an application.
Comment 2 Allison Karlitskaya (desrt) 2015-01-15 14:36:47 UTC
Review of attachment 294598 [details] [review]:

Looks good, thanks.
Comment 3 Philip Withnall 2015-01-15 14:54:13 UTC
Thanks for the fast review.

Attachment 294598 [details] pushed as 9114923 - ggettext: Include an example of setlocale() and friends in the i18n docs