Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / examples / README
1 This directory contains simple examples of the use of GNU gettext.
2 Each example is a simple "hello world" program with a very small message
3 catalog, written in a particular programming language for a particular
4 environment.
5
6     Example                    Language          GUI Environment
7
8     hello-c                    C
9     hello-c-gnome              C                 GNOME (obsolete)
10     hello-c-gnome3             C                 GNOME 3.10 or later
11     hello-c++                  C++
12     hello-c++-qt               C++               Qt
13     hello-c++-kde              C++               KDE
14     hello-c++-gnome            C++               GNOME (obsolete)
15     hello-c++-wxwidgets        C++               wxWidgets
16     hello-objc                 ObjectiveC
17     hello-objc-gnustep         ObjectiveC        GNUstep
18     hello-objc-gnome           ObjectiveC        GNOME (obsolete)
19     hello-sh                   Shell
20     hello-python               Python
21     hello-clisp                Lisp
22     hello-librep               librep
23     hello-guile                Scheme
24     hello-smalltalk            Smalltalk
25     hello-java                 Java
26     hello-java-awt             Java              AWT
27     hello-java-swing           Java              Swing
28     hello-java-qtjambi         Java              Qt
29     hello-csharp               C#
30     hello-csharp-forms         C#                Forms
31     hello-gawk                 awk
32     hello-pascal               Pascal
33     hello-ycp                  YCP               libyui
34     hello-tcl                  Tcl
35     hello-tcl-tk               Tcl               Tk
36     hello-perl                 Perl
37     hello-php                  PHP
38
39 Before building an example, you need to
40   1. Build and install the GNU gettext package, as described in the INSTALL
41      file.
42   2. cd to the example and do
43         ./autogen.sh
44   3. Then you can build the example as usual:
45         ./configure --prefix=/some/prefix
46         make
47         make install
48      and see it work by executing
49         /some/prefix/bin/hello
50