Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
hello-c/ | 12-May-2024 | - | 294 | 199 | ||
hello-c++/ | 12-May-2024 | - | 302 | 206 | ||
hello-c++-gnome/ | 12-May-2024 | - | 942 | 800 | ||
hello-c++-kde/ | 12-May-2024 | - | 26,238 | 21,507 | ||
hello-c++-qt/ | 12-May-2024 | - | 1,061 | 773 | ||
hello-c++-wxwidgets/ | 12-May-2024 | - | 1,018 | 742 | ||
hello-c-gnome/ | 12-May-2024 | - | 541 | 421 | ||
hello-c-gnome3/ | 12-May-2024 | - | 590 | 437 | ||
hello-clisp/ | 12-May-2024 | - | 598 | 398 | ||
hello-csharp/ | 12-May-2024 | - | 617 | 396 | ||
hello-csharp-forms/ | 12-May-2024 | - | 760 | 510 | ||
hello-gawk/ | 12-May-2024 | - | 586 | 387 | ||
hello-guile/ | 12-May-2024 | - | 590 | 391 | ||
hello-java/ | 12-May-2024 | - | 663 | 431 | ||
hello-java-awt/ | 12-May-2024 | - | 713 | 474 | ||
hello-java-qtjambi/ | 12-May-2024 | - | 738 | 487 | ||
hello-java-swing/ | 12-May-2024 | - | 711 | 472 | ||
hello-librep/ | 12-May-2024 | - | 599 | 399 | ||
hello-objc/ | 12-May-2024 | - | 296 | 209 | ||
hello-objc-gnome/ | 12-May-2024 | - | 554 | 441 | ||
hello-objc-gnustep/ | 12-May-2024 | - | 1,525 | 1,284 | ||
hello-pascal/ | 12-May-2024 | - | 644 | 414 | ||
hello-perl/ | 12-May-2024 | - | 621 | 410 | ||
hello-php/ | 12-May-2024 | - | 594 | 395 | ||
hello-python/ | 12-May-2024 | - | 593 | 393 | ||
hello-sh/ | 12-May-2024 | - | 581 | 381 | ||
hello-smalltalk/ | 12-May-2024 | - | 638 | 431 | ||
hello-tcl/ | 12-May-2024 | - | 510 | 317 | ||
hello-tcl-tk/ | 12-May-2024 | - | 518 | 325 | ||
hello-ycp/ | 12-May-2024 | - | 609 | 410 | ||
po/ | 12-May-2024 | - | 6,222 | 5,135 | ||
ChangeLog.0 | D | 12-May-2024 | 42 KiB | 1,238 | 901 | |
HACKING | D | 12-May-2024 | 143 | 6 | 3 | |
Makefile.am | D | 12-May-2024 | 14.4 KiB | 539 | 504 | |
README | D | 12-May-2024 | 4.2 KiB | 87 | 79 | |
check-examples | D | 12-May-2024 | 25.7 KiB | 831 | 652 | |
configure.ac | D | 12-May-2024 | 1.5 KiB | 41 | 33 | |
installpaths.in | D | 12-May-2024 | 1 KiB | 27 | 24 |
README
1This directory contains simple examples of the use of GNU gettext. 2Each example is a simple "hello world" program with a very small message 3catalog, written in a particular programming language for a particular 4environment. 5 6 Example Language GUI Environment 7 8 hello-c C 9 hello-c-gnome C GNOME (obsolete) 10 hello-c-gnome3 C GNOME 3.10 or later 11 hello-c++ C++ 12 hello-c++-qt C++ Qt 13 hello-c++-kde C++ KDE 14 hello-c++-gnome C++ GNOME (obsolete) 15 hello-c++-wxwidgets C++ wxWidgets 16 hello-objc ObjectiveC 17 hello-objc-gnustep ObjectiveC GNUstep 18 hello-objc-gnome ObjectiveC GNOME (obsolete) 19 hello-sh Shell 20 hello-python Python 21 hello-clisp Lisp 22 hello-librep librep 23 hello-guile Scheme 24 hello-smalltalk Smalltalk 25 hello-java Java 26 hello-java-awt Java AWT 27 hello-java-swing Java Swing 28 hello-java-qtjambi Java Qt 29 hello-csharp C# 30 hello-csharp-forms C# Forms 31 hello-gawk awk 32 hello-pascal Pascal 33 hello-ycp YCP libyui 34 hello-tcl Tcl 35 hello-tcl-tk Tcl Tk 36 hello-perl Perl 37 hello-php PHP 38 39Before building an example, you need to 40 1. Build and install the GNU gettext package, as described in the INSTALL 41 file. 42 2. cd to the example and do 43 ./autogen.sh 44 3. Then you can build the example as usual: 45 ./configure --prefix=/some/prefix 46 make 47 make install 48 and see it work by executing 49 /some/prefix/bin/hello 50 51The po/ directories of the examples use different binary catalog formats and 52Makefile types: 53 54 Example Binary catalog format Makefile type 55 56 hello-c .gmo Makefile.in.in 57 hello-c-gnome .gmo Makefile.in.in 58 hello-c-gnome3 .gmo Makefile.in.in 59 hello-c++ .gmo Makefile.in.in 60 hello-c++-kde .gmo Makefile.in.in 61 hello-c++-gnome .gmo Makefile.in.in 62 hello-objc .gmo Makefile.in.in 63 hello-objc-gnome .gmo Makefile.in.in 64 hello-c++-wxwidgets .gmo Makefile.am 65 hello-sh .gmo Makefile.am 66 hello-python .gmo Makefile.am 67 hello-clisp .gmo Makefile.am 68 hello-librep .gmo Makefile.am 69 hello-guile .gmo Makefile.am 70 hello-smalltalk .gmo Makefile.am 71 hello-gawk .gmo Makefile.am 72 hello-pascal .gmo Makefile.am 73 hello-ycp .gmo Makefile.am 74 hello-perl .gmo Makefile.am 75 hello-php .gmo Makefile.am 76 hello-java .properties Makefile.am 77 hello-java-awt .properties Makefile.am 78 hello-java-swing .properties Makefile.am 79 hello-java-qtjambi .properties Makefile.am 80 hello-csharp .resources.dll Makefile.am 81 hello-csharp-forms .resources.dll Makefile.am 82 hello-tcl .msg Makefile.am 83 hello-tcl-tk .msg Makefile.am 84 hello-c++-qt .qm Makefile.am 85 hello-objc-gnustep .strings GNUmakefile 86 87