Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Joan,

On Saturday, 2011-11-19 21:50:07 +0100, Joan Montané wrote:

It's not related with inflective forms, but something similar needed in
Catalan, and maybe in other languages like French or Italian.

In Catalan it's usual to use the long date form "3 de setembre de 2011"
(3rd of September of 2011, day of month of year), and other similar long
date forms using the preposition "de" (of) in front of month and year. This
form can be build with a custom date format using: D "de" MMMM "de" YYYY,
but it's not perfect, because the preposition "de" is contracted in front
of some months to "d' ", so there are 3 months were "de" should be changed
to "d' ".

Some examples, 1st of each month, from January to December, of 2011:

1 de gener de 2011
1 de febrer de 2011
1 de març de 2011
1 d'abril de 2011
1 de maig de 2011
1 de juny de 2011
1 de juliol de 2011
1 d'agost de 2011
1 de setembre de 2011
1 d'octubre de 2011
1 de novembre de 2011
1 de desembre de 2011

That looks like it would be possible to define genitive months as
"de març", "d'abril", "de maig", ... give it a try.

However, that might lose the ability to parse such dates as currently
the " de " is defined as LongDateDaySeparator, and the input is matched
against separators followed by month names. Might need some massaging in
parser code.

Note: The "de" preposition in front of year can also be contracted in some
cases, but the last year in past was 11, and the first year in future will
be 11000. So, we have time to achieve the perfect date format, :)

I'm quite sure that I will not fix that in near future :)

  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


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.