On Sep 1, 2011, at 1:01 PM, Eike Rathke wrote:
On Thursday, 2011-09-01 09:35:09 +0200, Stephan Bergmann wrote:
First, I think extending this from Persian to English already shows
the biggest flaw of this approach: Do you want to extend in in this
way for all languages supported by LibO? I would consider such
extension to additional languages a localization task, a task that
typically only consists of translating string resources.
String resources wouldn't be sufficient as different locales have
different rules for how to form a number string, especially when it
comes to ordinals.
Thats why I sketched that string resources plus algorithm (taking care of all the various
language-specific details) thing further down in the thread.
However, this looks more like spell-out than level
numbering and as such misses the point of the numbering provider. If we
wanted to implement spell-out I'd rather go for ICU's methods than
implementing yet another home-grown solution.
Sounds even better.
-Stephan
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.