blob: 35a82a5e9c24adf96471709ef95d06e318e86845 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Boost.Locale: Boost.Locale</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="boost-small.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Boost.Locale
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li class="current"><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('index.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<div class="title">Boost.Locale </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><h2><a class="anchor" id="main_intro"></a>
What is Boost.Locale?</h2>
<p>Boost.Locale is a library that provides high quality localization facilities in a C++ way. It was originally designed a part of <a href="http://cppcms.sourceforge.net/">CppCMS</a> - C++ Web Framework project and then contributed to Boost.</p>
<p>Boost.Locale gives powerful tools for development of cross platform localized software - the software that talks to user in its language.</p>
<p>Provided Features:</p>
<ul>
<li>Correct case conversion, case folding and normalization.</li>
<li>Collation (sorting), including support for 4 Unicode collation levels.</li>
<li>Date, time, timezone and calendar manipulations, formatting and parsing, including transparent support for calendars other than Gregorian.</li>
<li>Boundary analysis for characters, words, sentences and line-breaks.</li>
<li>Number formatting, spelling and parsing.</li>
<li>Monetary formatting and parsing.</li>
<li>Powerful message formatting (string translation) including support for plural forms, using GNU catalogs.</li>
<li>Character set conversion.</li>
<li>Transparent support for 8-bit character sets like Latin1</li>
<li>Support for <code>char</code> and <code>wchar_t</code> </li>
<li>Experimental support for C++0x <code>char16_t</code> and <code>char32_t</code> strings and streams.</li>
</ul>
<p>Boost.Locale enhances and unifies the standard library's API the way it becomes useful and convenient for development of cross platform and "cross-culture" software.</p>
<p>In order to achieve this goal Boost.Locale uses the-state-of-the-art Unicode and Localization library: <a href="http://icu-project.org/">ICU</a> - International Components for Unicode.</p>
<p>Boost.Locale creates the natural glue between the C++ locales framework, iostreams, and the powerful ICU library.</p>
<p>Boost.Locale provides non-ICU based localization support as well. It is based on the operating system native API or on the standard C++ library support. Sacrificing some less important features, Boost.Locale becomes less powerful but lighter and easier to deploy and use library.</p>
<h2><a class="anchor" id="main_tutorial"></a>
Tutorials</h2>
<ul>
<li><a class="el" href="std_locales.html">Introduction to C++ Standard Library localization support</a></li>
<li><a class="el" href="using_boost_locale.html">Using Boost.Locale</a><ul>
<li><a class="el" href="locale_gen.html">Locale Generation</a></li>
<li><a class="el" href="collation.html">Collation</a></li>
<li><a class="el" href="conversions.html">Text Conversions</a></li>
<li><a class="el" href="formatting_and_parsing.html">Numbers, Time and Currency formatting and parsing</a></li>
<li><a class="el" href="messages_formatting.html">Messages Formatting (Translation)</a></li>
<li><a class="el" href="charset_handling.html">Character Set Conversions</a></li>
<li><a class="el" href="boundary_analysys.html">Boundary analysis</a></li>
<li><a class="el" href="localized_text_formatting.html">Localized Text Formatting</a></li>
<li><a class="el" href="dates_times_timezones.html">Working with dates, times, timezones and calendars.</a></li>
<li><a class="el" href="locale_information.html">Getting information about the current locale</a></li>
<li><a class="el" href="working_with_multiple_locales.html">Working with multiple locales</a></li>
</ul>
</li>
<li><a class="el" href="using_localization_backends.html">Using Localization Backends</a></li>
<li><a class="el" href="recommendations_and_myths.html">Recommendations and Myths</a></li>
<li><a class="el" href="building_boost_locale.html">Building The library</a></li>
<li><a class="el" href="appendix.html">Appendix</a><ul>
<li><a class="el" href="rationale.html">Design Rationale</a></li>
<li><a class="el" href="faq.html">Frequently Asked Questions</a></li>
<li><a class="el" href="default_encoding_under_windows.html">Default Encoding under Microsoft Windows</a></li>
<li><a class="el" href="running_examples_under_windows.html">Running Examples under Microsoft Windows</a></li>
<li><a class="el" href="gettext_for_windows.html">Using Gettext Tools on Windows</a></li>
<li><a class="el" href="glossary.html">Glossary</a></li>
<li><a class="el" href="tested_compilers_and_paltforms.html">Tested Compilers and Platforms</a></li>
<li><a class="el" href="status_of_cpp0x_characters_support.html">Status of C++0x char16_t/char32_t support</a></li>
<li><a class="el" href="special_thanks.html">Special Thanks</a></li>
</ul>
</li>
<li><a class="el" href="changelog.html">Changelog</a> </li>
</ul>
</div></div><!-- contents -->
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="footer">
&copy; Copyright 2009-2012 Artyom Beilis, Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License</a>, Version 1.0.
</li>
</ul>
</div>
</body>
</html>