Hi Harri,
On Saturday, 2011-11-19 22:12:50 +0200, Harri Pitkänen wrote:
Similar problem with Finnish. We need to use genitive or partitive depending
on whether the month name comes before or after the day of month. So you can
write the date for today either as
"marraskuun 19. 2011" (genitive) or
"19. marraskuuta 2011" (partitive)
Does this mean that Finnish actually uses three forms of month names,
nominative, genitive and partitive? fi_FI.xml contains "marraskuu" for
November, so it looks like.
Hmm.. I could add also a partitive form to locale data and use that in
the number formatter. Is the rule simply always that if the day precedes
the month the genitive is used, and if the day follows the month the
partitive is used?
Might get complicated if other locales used yet different rules.
Currently this is not much of a problem for us since using spelled (as opposed
to numeric) months is quite uncommon. We can also work around the problem by
using custom date formats: MMMM"n" for genitive and MMMM"ta" for partitive
month name. This happens to be possible because all month names are inflected
from nominative to genitive or partitive with exactly same suffix.
This workaround would no longer work if all date formats containing day of
month would automatically substitute MMMM with genitive form. Thus we probably
should not add <GenitiveMonths> for Finnish at this point.
Reasonably not.
But the feature is
nice anyway and with a small extension (support for partitive forms) could
make our date formats much easier to work with.
I could get that in quite easily if the rule is simply what I assumed
above.
Eike
--
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
--
Unsubscribe instructions: E-mail to l10n+help@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -) · Andrea Pescetti
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -) · Valter Mura
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -) · Eike Rathke
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ;-) · Eike Rathke
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ;-) · Kostas Mousafiris
(message not available)
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.