Re: [libreoffice-l10n] Adding numeral system

2015-10-14 Thread Eike Rathke
Hi Aleksandr,

On Tuesday, 2015-10-13 18:19:06 +0300, Aleksandr Andreev wrote:

> I would like to add the Slavonic numeral system to LibreOffice to
> support page numbering. It is now supported in CLDR:
> http://unicode.org/cldr/trac/ticket/7358
> 
> Do I just have to add the code to defaultnumberingprovider.cxx or is
> it more involved than this?

Maybe you're mixing up things (or I do ;)  defaultnumberingprovider.cxx
is for numbering of paragraphs and outline numbering, not for
implementations of numeral systems. Your case seems to be
transliteration into a different native number system, such code lives
in i18npool/source/nativenumber/nativenumbersupplier.cxx and
i18npool/source/nativenumber/data/* files, and may get used by
transliterations.

In fact the paragraph and outline numbering may use transliterations and
native number systems.

> Is it possible to simply support the RBNF
> rules provided by CLDR?

You can use icu::RuleBasedNumberFormat instances within the i18npool
code, but what would be "simply support"?

  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+unsubscr...@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



[libreoffice-l10n] Inconsistency in libo50_help/shared/00.po

2015-10-14 Thread Sveinn í Felli

Hi,

Just found this one in libo50_help/shared/00.po:

#. e8e9B
#: 0408.xhp
msgctxt ""
"0408.xhp\n"
"par_id3150960\n"
"2\n"
"help.text"
msgid "Choose Help - 
Contents"

msgstr ""

But in LO 5.0.3.1 under Help there's no "Contents" (just "LibreOffice 
Help" + rest)


Can anyone confirm?
(yes, this is more of an QA/documentation issue)

Cheers,
Sveinn í Felli

--
To unsubscribe e-mail to: l10n+unsubscr...@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


[libreoffice-l10n] Inconsistency in libo50_help/shared/00.po

2015-10-14 Thread Adolfo Jayme Barrientos
Thank you, Sveinn. I’ve now fixed that mistake.

https://gerrit.libreoffice.org/gitweb?p=help.git;a=commitdiff;h=f3774406c28c3b0f4fc7a3a1dd8fe725e2001b69

Adolfo

-- 
To unsubscribe e-mail to: l10n+unsubscr...@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


Re: [libreoffice-l10n] Adding numeral system

2015-10-14 Thread Aleksandr Andreev
Hello Eike,

On Wed, Oct 14, 2015 at 2:26 PM, Eike Rathke  wrote:
> Hi Aleksandr,
>
>
> Maybe you're mixing up things (or I do ;)  defaultnumberingprovider.cxx
> is for numbering of paragraphs and outline numbering, not for
> implementations of numeral systems. Your case seems to be
> transliteration into a different native number system, such code lives
> in i18npool/source/nativenumber/nativenumbersupplier.cxx and
> i18npool/source/nativenumber/data/* files, and may get used by
> transliterations.
>

Ah, OK. Thank you. Now I see the implementation of Hebrew numerals in
nativenumbersupplier.cxx, so it seems like I have to create something
similar for the Slavic numerals.

> 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.

Thanks,

Aleksandr

-- 
To unsubscribe e-mail to: l10n+unsubscr...@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