Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
jamfile.jam | D | 12-May-2024 | 701 | 27 | 20 | |
jamroot.jam | D | 12-May-2024 | 195 | 7 | 4 | |
main.cpp | D | 12-May-2024 | 628 | 29 | 13 | |
readme.txt | D | 12-May-2024 | 622 | 25 | 17 | |
russian.po | D | 12-May-2024 | 626 | 22 | 20 |
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