https://bugs.documentfoundation.org/show_bug.cgi?id=160986

--- Comment #5 from V Stuart Foote <vsfo...@libreoffice.org> ---
(In reply to Heiko Tietze from comment #3)
>...
> which starts with the comment
> 
> //Format a number as a percentage according to the rules of the given
> //language, e.g. 100 -> "100%" for en-US vs "100 %" for de-DE

Don't know why FUNIT_PERCENT (of AOo i56998) was not applied for the status bar
zoom control, but upstream Unicode "Common Locale Data Repository" (CLDR)
contains the "accepted" usage.

When Caolán ported the changes, he was a little sparse in its commenting. In
reality, the CLDR addresses spacing, decimal separator and position of the %
glyph per locale.

We hold the CLDR in i18npool/source/localedata/data as an XML for each
supported locale, and IIUC the format code for 'PercentFormatskey1' or
'PercentFormatskey2' is what gets picked up for localized FUNIT_PERCENT
depending on precision.

If you look through the XML you'll see the mix of usage for localizations.

Also, localization doesn't follow SI usage.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to