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 | |
---|
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's possible to used 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 |
---|
11 | output 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" |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.