summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/README
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-12-24 07:38:37 +0000
committer <>2015-02-02 12:02:29 +0000
commit482840e61f86ca321838a91e902c41d40c098bbb (patch)
tree01ea2e242fd2792d19fe192476601587901db794 /gettext-tools/examples/README
downloadgettext-tarball-482840e61f86ca321838a91e902c41d40c098bbb.tar.gz
Imported from /home/lorry/working-area/delta_gettext-tarball/gettext-0.19.4.tar.xz.gettext-0.19.4
Diffstat (limited to 'gettext-tools/examples/README')
-rw-r--r--gettext-tools/examples/README50
1 files changed, 50 insertions, 0 deletions
diff --git a/gettext-tools/examples/README b/gettext-tools/examples/README
new file mode 100644
index 0000000..4eff716
--- /dev/null
+++ b/gettext-tools/examples/README
@@ -0,0 +1,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
+