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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to