summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/README
blob: 4eff716d10dd3e99e85379475cf71829d7cbdec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
This directory contains simple examples of the use of GNU gettext.
Each example is a simple "hello world" program with a very small message
catalog, written in a particular programming language for a particular
environment.

    Example                    Language          GUI Environment

    hello-c                    C
    hello-c-gnome              C                 GNOME (obsolete)
    hello-c-gnome3             C                 GNOME 3.10 or later
    hello-c++                  C++
    hello-c++-qt               C++               Qt
    hello-c++-kde              C++               KDE
    hello-c++-gnome            C++               GNOME (obsolete)
    hello-c++-wxwidgets        C++               wxWidgets
    hello-objc                 ObjectiveC
    hello-objc-gnustep         ObjectiveC        GNUstep
    hello-objc-gnome           ObjectiveC        GNOME (obsolete)
    hello-sh                   Shell
    hello-python               Python
    hello-clisp                Lisp
    hello-librep               librep
    hello-guile                Scheme
    hello-smalltalk            Smalltalk
    hello-java                 Java
    hello-java-awt             Java              AWT
    hello-java-swing           Java              Swing
    hello-java-qtjambi         Java              Qt
    hello-csharp               C#
    hello-csharp-forms         C#                Forms
    hello-gawk                 awk
    hello-pascal               Pascal
    hello-ycp                  YCP               libyui
    hello-tcl                  Tcl
    hello-tcl-tk               Tcl               Tk
    hello-perl                 Perl
    hello-php                  PHP

Before building an example, you need to
  1. Build and install the GNU gettext package, as described in the INSTALL
     file.
  2. cd to the example and do
        ./autogen.sh
  3. Then you can build the example as usual:
        ./configure --prefix=/some/prefix
        make
        make install
     and see it work by executing
        /some/prefix/bin/hello