The code is ready from the beginning only instead include Boost.Locale headers it has a dummy definition of translate()
define translate(str) str // TODO: Use Boost.Locale when available
Boost.Locale is available since Boost 1.48:
http://www.boost.org/doc/libs/1_48_0/libs/locale/doc/html/index.html