Hi Aleksandr,
On Wednesday, 2015-10-14 16:55:49 +0300, Aleksandr Andreev wrote:
You can use icu::RuleBasedNumberFormat instances within the i18npool
code, but what would be "simply support"?
My question is whether I can use the RBNF rules already created for
CLDR or if I need to write a C++ implementation for Slavic numerals.
It don't see any usage of RBNF in nativenumbersupplier.cxx, and I
can't seem to find any RBNF rules in the source code.
Only one place uses it, OrdinalSuffixService::getOrdinalSuffix() in
i18npool/source/ordinalsuffix/ordinalsuffix.cxx with icu::URBNF_ORDINAL.
Note that availability of specific RBNFs depends on the ICU version
LibreOffice is built and linked against, CLDR mentioning something
doesn't necessarily mean it is implemented except maybe in the latest
and greatest ICU, if at all. You'd have to check as of which version
your specific requirement is available, and if quite new then add checks
to autoconf whether the version used to build supports that already and
disable things in code in case it does not.
Eike
--
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key "ID" 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack
--
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.