Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/tools/build/v2/example/gettext/readme.txt @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 634 bytes
Line 
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's possible to used GNU gettext utilities with
7Boost.Build.
8
9A simple translation file is compiled and installed as message catalog for
10russian. The main application explicitly switches to russian locale and
11output the 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
Note: See TracBrowser for help on using the repository browser.