• Home
Name Date Size #Lines LOC

..--

jamfile.jamD12-May-2024701 2720

jamroot.jamD12-May-2024195 74

main.cppD12-May-2024628 2913

readme.txtD12-May-2024622 2517

russian.poD12-May-2024626 2220

readme.txt

1Copyright 2003 Vladimir Prus
2Distributed 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
6This example shows how it is possible to use GNU gettext utilities with
7B2.
8
9A simple translation file is compiled and installed as message catalog for
10russian. The main application explicitly switches to russian locale and outputs
11the translation of "hello".
12
13To test:
14
15   bjam
16   bin/gcc/debug/main
17
18To 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"
25