Hello All,
Boost.Locale v3 integrated to CppCMS SVN version. Some instability
may occur in several days period.
New in this version of localization support:
--------------------------------------------
- ICU is optional however recommended,
- new localization backends added:
See:
<http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_config#localization.backend>
<http://cppcms.sourceforge.net/boost_locale/html/tutorial.html#34173cb38f07f89ddbebc2ac9128303f>
Generally when performance is much more important then full featured
localization support,
choose std/posix/winapi backend, otherwise ICU is preferred.
- Compiling with or without ICU now does not break binary compatibility of the
library
Breaking changes:
------------------
Option localization.encoding is removed, it is mandatory
to provide encoding in locale names in configuration.
Before:
"encoding" : "UTF-8",
"locales" : [ "en_US", "he_IL" ]
Now:
"locales" : [ "en_US.UTF-8", "he_IL.UTF-8" ]
Note:
You actually need to specify the default locale, each time, new locale
is requested it would be cached.
Artyom
|