File: README

package info (click to toggle)
gettext 0.18.3.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 89,640 kB
  • ctags: 44,040
  • sloc: ansic: 349,778; sh: 54,426; makefile: 8,491; perl: 4,181; lisp: 3,369; cpp: 673; yacc: 665; java: 613; cs: 578; sed: 369; objc: 337; awk: 80; tcl: 63; pascal: 11; php: 8
file content (49 lines) | stat: -rw-r--r-- 1,954 bytes parent folder | download | duplicates (4)
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
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
    hello-c++                  C++
    hello-c++-qt               C++               Qt
    hello-c++-kde              C++               KDE
    hello-c++-gnome            C++               GNOME
    hello-c++-wxwidgets        C++               wxWidgets
    hello-objc                 ObjectiveC
    hello-objc-gnustep         ObjectiveC        GNUstep
    hello-objc-gnome           ObjectiveC        GNOME
    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