]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/example/gettext/readme.txt
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / tools / build / example / gettext / readme.txt
1 Copyright 2003 Vladimir Prus
2 Distributed under the Boost Software License, Version 1.0.
3 (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
4
5
6 This example shows how it is possible to use GNU gettext utilities with
7 Boost.Build.
8
9 A simple translation file is compiled and installed as message catalog for
10 russian. The main application explicitly switches to russian locale and outputs
11 the translation of "hello".
12
13 To test:
14
15 bjam
16 bin/gcc/debug/main
17
18 To test even more:
19
20 - add more localized strings to "main.cpp"
21 - run "bjam update-russian"
22 - edit "russian.po"
23 - run bjam
24 - run "main"