File: README

package info (click to toggle)
gettext 0.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 168,104 kB
  • sloc: ansic: 532,579; sh: 68,252; perl: 28,011; makefile: 9,066; lisp: 3,184; yacc: 1,055; java: 615; cs: 589; cpp: 397; objc: 343; sed: 79; tcl: 63; xml: 40; pascal: 11; php: 7; awk: 7
file content (88 lines) | stat: -rw-r--r-- 4,363 bytes parent folder | download | duplicates (2)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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++20                C++ 20
    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

The po/ directories of the examples use different binary catalog formats and
Makefile types:

    Example                    Binary catalog format   Makefile type

    hello-c                    .gmo                    Makefile.in.in
    hello-c-gnome              .gmo                    Makefile.in.in
    hello-c-gnome3             .gmo                    Makefile.in.in
    hello-c++                  .gmo                    Makefile.in.in
    hello-c++20                .gmo                    Makefile.in.in
    hello-c++-kde              .gmo                    Makefile.in.in
    hello-c++-gnome            .gmo                    Makefile.in.in
    hello-objc                 .gmo                    Makefile.in.in
    hello-objc-gnome           .gmo                    Makefile.in.in
    hello-c++-wxwidgets        .gmo                    Makefile.am
    hello-sh                   .gmo                    Makefile.am
    hello-python               .gmo                    Makefile.am
    hello-clisp                .gmo                    Makefile.am
    hello-librep               .gmo                    Makefile.am
    hello-guile                .gmo                    Makefile.am
    hello-smalltalk            .gmo                    Makefile.am
    hello-gawk                 .gmo                    Makefile.am
    hello-pascal               .gmo                    Makefile.am
    hello-ycp                  .gmo                    Makefile.am
    hello-perl                 .gmo                    Makefile.am
    hello-php                  .gmo                    Makefile.am
    hello-java                 .properties             Makefile.am
    hello-java-awt             .properties             Makefile.am
    hello-java-swing           .properties             Makefile.am
    hello-java-qtjambi         .properties             Makefile.am
    hello-csharp               .resources.dll          Makefile.am
    hello-csharp-forms         .resources.dll          Makefile.am
    hello-tcl                  .msg                    Makefile.am
    hello-tcl-tk               .msg                    Makefile.am
    hello-c++-qt               .qm                     Makefile.am
    hello-objc-gnustep         .strings                GNUmakefile