build/example/gettext
2008-08-31 22:28:38 +00:00
..
jamfile.jam Consistently renamed Boost Build scripts. Jamfile.v2 & Jamfile renamed to jamfile.jam. Jamroot, Jamroot.v2 & project-root.jam renamed to jamroot.jam. Minor stylistic changes to several Boost Build example documentation files. 2008-08-31 22:15:50 +00:00
jamroot.jam Consistently renamed Boost Build scripts. Jamfile.v2 & Jamfile renamed to jamfile.jam. Jamroot, Jamroot.v2 & project-root.jam renamed to jamroot.jam. Minor stylistic changes to several Boost Build example documentation files. 2008-08-31 22:15:50 +00:00
main.cpp Add copyright 2004-08-26 11:05:22 +00:00
readme.txt Cleaned up Boost Build example readme.txt files a bit. 2008-08-31 22:28:38 +00:00
russian.po Add gettext example. 2003-07-01 12:00:31 +00:00

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"