1
0
Fork 0
arangodb/3rdParty/boost/1.61.0/tools/build/example/gettext
Frank Celler f294f4b396 added build 2016-08-13 20:03:53 +02:00
..
jamfile.jam added build 2016-08-13 20:03:53 +02:00
jamroot.jam added build 2016-08-13 20:03:53 +02:00
main.cpp added build 2016-08-13 20:03:53 +02:00
readme.txt added build 2016-08-13 20:03:53 +02:00
russian.po added build 2016-08-13 20:03:53 +02: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"