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


Hi,

some Slavic languages and Russian and Greek (afaik) use possessive
genitive case month names when used in conjunction with the day of
month. For this I added support in the i18n framework and number
formatter. There's a new optional element <GenitiveMonths> within the
<Calendar> element of the i18npool/source/localedata/data/*.xml files,
following the <MonthsOfYear> element. Its content is similar to the
already existing <MonthsOfYear> element and has <DefaultAbbrvName> and
<DefaultFullName> elements. If the <GenitiveMonths> element is not
specified, the content of <MonthsOfYear> will be taken. For technical
details see also
http://cgit.freedesktop.org/libreoffice/core/tree/i18npool/source/localedata/data/locale.dtd

If localizers hurry up ;-) and provide patches to their locales' data
files you can get it in before the 3.5 branch-off.

In the past for some locales it was decided to use possessive month
names instead of month nouns because usually they are displayed along
with the day of month. This should be changed, effectively by renaming
the <MonthsOfYear> element to <GenitiveMonths> and inserting a new
<MonthsOfYear> element before with month nouns.

In a recent build you can check use of month noun versus possessive
month in the number formatter if you compiled your new locale data with
a make in i18npool (note: execute make twice to be sure the new data is
available, it seems that due to some shortcoming in the current makefile
setup some dependencies are missing). If the format code contains month
(MMM or MMMM) and day of month (D or DD) the possessive name is
displayed, else (no D or DD code) the noun is displayed.

  Eike

P.S.: Reply-To l10n@global.libreoffice.org is set.

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpJ8hRtLjUw7.pgp
Description: PGP signature


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.