WSJT-X/boost/tools/build/example/gettext
Bill Somerville 5abe797e3c Merge commit '4ebe6417a5fce5f0994fc0c31bebf732be96a07c' as 'boost' 2018-06-09 21:48:33 +01:00
..
jamfile.jam Merge commit '4ebe6417a5fce5f0994fc0c31bebf732be96a07c' as 'boost' 2018-06-09 21:48:33 +01:00
jamroot.jam Merge commit '4ebe6417a5fce5f0994fc0c31bebf732be96a07c' as 'boost' 2018-06-09 21:48:33 +01:00
main.cpp Merge commit '4ebe6417a5fce5f0994fc0c31bebf732be96a07c' as 'boost' 2018-06-09 21:48:33 +01:00
readme.txt Merge commit '4ebe6417a5fce5f0994fc0c31bebf732be96a07c' as 'boost' 2018-06-09 21:48:33 +01:00
russian.po Merge commit '4ebe6417a5fce5f0994fc0c31bebf732be96a07c' as 'boost' 2018-06-09 21:48:33 +01:00

readme.txt

Copyright 2003 Vladimir Prus
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)


This example shows how it is possible to use GNU gettext utilities with
Boost.Build.

A simple translation file is compiled and installed as message catalog for
russian. The main application explicitly switches to russian locale and outputs
the translation of "hello".

To test:

   bjam
   bin/gcc/debug/main

To test even more:

   - add more localized strings to "main.cpp"
   - run "bjam update-russian"
   - edit "russian.po"
   - run bjam
   - run "main"