El 21 de novembre de 2011 13:31, Eike Rathke <[email protected]> ha escrit:
> Hi Joan, > > On Sunday, 2011-11-20 11:24:19 +0100, Joan Montané wrote: > > > > 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. > > > > > > > > Thanks for quick reply. If we define genitive months as "de març", > > "d'abril",... can we access current months? That is, when genitive or > > current months forms are used? > > I'm not sure I understand what you mean by "current months", is that the > month names as currently defined by the <MonthsOfYear> element? Note > that <GenitiveMonths> is an additional element and does not replace the > <MonthsOfYear> element. > > In context of the parser, the parser tries to match against both, > GenitiveMonths and MonthsOfYear elements, so if MonthsOfYear specifies > the month name without the leading "de " then things should still work > if they did before, I didn't try yet. > > Eike > > Yes, with "current months" I was mean <MonthsOfYear>. Ok, it looks fine for me. I will update the Catalan xml file. Just one more question. With M, MM, MMM, MMMM and MMMMM codes we can generate diferent months strings. So, what code is used to generate GenitiveMonths strings? there exists such code? In Catalan, we use only de prepositon "de" (or d') in long date formats. So current M, MM, MMM and MMMM codes work fine. Is there some way to generate <GenitiveMonths> with a custom date format? Regards, Joan Montané -- Unsubscribe instructions: E-mail to [email protected] 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
