Home | History | Annotate | Line # | Download | only in examples
      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
     10     hello-c++                  C++
     11     hello-c++-qt               C++               Qt
     12     hello-c++-kde              C++               KDE
     13     hello-c++-gnome            C++               GNOME
     14     hello-c++-wxwidgets        C++               wxWidgets
     15     hello-objc                 ObjectiveC
     16     hello-objc-gnustep         ObjectiveC        GNUstep
     17     hello-objc-gnome           ObjectiveC        GNOME
     18     hello-sh                   Shell
     19     hello-python               Python
     20     hello-clisp                Lisp
     21     hello-librep               librep
     22     hello-guile                Scheme
     23     hello-smalltalk            Smalltalk
     24     hello-java                 Java
     25     hello-java-awt             Java              AWT
     26     hello-java-swing           Java              Swing
     27     hello-csharp               C#
     28     hello-csharp-forms         C#                Forms
     29     hello-gawk                 awk
     30     hello-pascal               Pascal
     31     hello-ycp                  YCP               libyui
     32     hello-tcl                  Tcl
     33     hello-tcl-tk               Tcl               Tk
     34     hello-perl                 Perl
     35     hello-php                  PHP
     36 
     37 Before building an example, you need to
     38   1. Build and install the GNU gettext package, as described in the INSTALL
     39      file.
     40   2. cd to the example and do
     41         ./autogen.sh
     42   3. Then you can build the example as usual:
     43         ./configure --prefix=/some/prefix
     44         make
     45         make install
     46      and see it work by executing
     47         /some/prefix/bin/hello
     48 
     49