summaryrefslogtreecommitdiff
path: root/tools/build/example/gettext/readme.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/example/gettext/readme.txt')
-rw-r--r--tools/build/example/gettext/readme.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/build/example/gettext/readme.txt b/tools/build/example/gettext/readme.txt
new file mode 100644
index 000000000..9c8fee6fd
--- /dev/null
+++ b/tools/build/example/gettext/readme.txt
@@ -0,0 +1,24 @@
+Copyright 2003 Vladimir Prus
+Distributed under the Boost Software License, Version 1.0.
+(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+
+
+This example shows how it is possible to use GNU gettext utilities with
+Boost.Build.
+
+A simple translation file is compiled and installed as message catalog for
+russian. The main application explicitly switches to russian locale and outputs
+the translation of "hello".
+
+To test:
+
+ bjam
+ bin/gcc/debug/main
+
+To test even more:
+
+ - add more localized strings to "main.cpp"
+ - run "bjam update-russian"
+ - edit "russian.po"
+ - run bjam
+ - run "main"