[libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ;-)
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 within the element of the i18npool/source/localedata/data/*.xml files, following the element. Its content is similar to the already existing element and has and elements. If the element is not specified, the content of 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 element to and inserting a new 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 ) 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 -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ;-)
That's great Eike. Just a minor point, perhaps in might make sense to change "gentive" to "inflected" or something as I don't think every language requires the same case. Gaelic requires the partitive for instance and there are probably others. Not that it matters that much what we're calling it, I guess, as I can fill the genitive field with a partitive all the same ;) Michael -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] Confusion with helplines in 3.5
2011/10/22 Andras Timar > 2011.10.22. 15:06 keltezéssel, Rūdolfs Mazurs írta: > > S , 2011-10-22 13:12 +0200, Andras Timar rakstīja: >> >>> Helpline was guide. See the commits: >>> http://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=Unify >>> +Display+Grid >>> http://cgit.freedesktop.org/libreoffice/help/log/?qt=grep&q=Unify >>> +Display+Grid >>> The purpose of these commits was to unify the terminology. Please let >>> me know, if you find inconsistencies. >>> >> >> What I found strange is that "Helplines" appear only in string >> "Helplines While Moving". Also, in the logs above most "guides" became >> "snap lines". Also this was interesting: >> - Text [ en-US ] = "Guides ~while moving"; >> + Text [ en-US ] = "Helplines ~While Moving"; >> >> >> - Text [ en-US ] = "~Guides when moving" ; >> + Text [ en-US ] = "~Snap Lines when moving" ; >> >> Also, what is the difference between snap line and helpline? In my >> language those two were synonyms. >> >> > Christian, we wondered on the l10n list about your commits, can you please > explain? > > Any news on this? Regards, Mihkel -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ;-)
2011/11/19 Eike Rathke > 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 within the > element of the i18npool/source/localedata/data/*.xml files, > following the element. Its content is similar to the > already existing element and has and > elements. If the element is not > specified, the content of 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 element to and inserting a new > 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 ) and day of month (D or DD) the possessive name is > displayed, else (no D or DD code) the noun is displayed. > > Where exactly is this going to be used -- Calc's date-formatted cells, Writer's date-fields, ...? And will it be strictly one way or the other, or will users be able to choose which form (nominative/inflected) they want in a given context? I ask because in Estonian both forms (and more :P ) could be used, depending on sentence. Regards, Mihkel of the Estonian l10n team -- Unsubscribe instructions: E-mail to l10n+h...@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
[libreoffice-l10n] The new "Format $1..." / "Delete $1..." commands in 3.5
Hi *, The 3.5 branch introduced new strings to format and delete header/footer ("Format $1..." and "Delete $1..." -- _XDs and wAFn, respectively), but these are coded in a way that the end result looks weird/wrong for languages which don't use Title Case as much as English ($1 is pulled from separate strings where they start with a capital letter). Since the string freeze is not yet in effect, it would be nice if these strings were split into four distinct strings: "Format Header...", "Format Footer...", "Delete Header...", "Delete Footer...". Regards, Mihkel -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -)
On Saturday 19 November 2011, Mihkel Tõnnov wrote: > 2011/11/19 Eike Rathke > > 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 ) and day of month (D or DD) the possessive name is > > displayed, else (no D or DD code) the noun is displayed. > > > > Where exactly is this going to be used -- Calc's date-formatted cells, > > Writer's date-fields, ...? > And will it be strictly one way or the other, or will users be able to > choose which form (nominative/inflected) they want in a given context? > I ask because in Estonian both forms (and more :P ) could be used, > depending on sentence. 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) 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: "n" for genitive and "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 with genitive form. Thus we probably should not add for Finnish at this point. 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. Harri -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -)
El 19 de novembre de 2011 21:12, Harri Pitkänen ha escrit: > On Saturday 19 November 2011, Mihkel Tõnnov wrote: > > 2011/11/19 Eike Rathke > > > 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 ) and day of month (D or DD) the possessive name is > > > displayed, else (no D or DD code) the noun is displayed. > > > > > > Where exactly is this going to be used -- Calc's date-formatted cells, > > > > Writer's date-fields, ...? > > And will it be strictly one way or the other, or will users be able to > > choose which form (nominative/inflected) they want in a given context? > > I ask because in Estonian both forms (and more :P ) could be used, > > depending on sentence. > > 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) > > 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: "n" for genitive and "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 with genitive form. Thus we > probably > should not add for Finnish at this point. 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. > > Harri > > Hi all, 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" "de" , 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 What's the correct way to achieve the good format in these cases? 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, :) Joan Montané -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] The new "Format $1..." / "Delete $1..." commands in 3.5
Hi Mihkel, 2011/11/19 Mihkel Tõnnov : > Hi *, > The 3.5 branch introduced new strings to format and delete header/footer > ("Format $1..." and "Delete $1..." -- _XDs and wAFn, respectively), but > these are coded in a way that the end result looks weird/wrong for > languages which don't use Title Case as much as English ($1 is pulled from > separate strings where they start with a capital letter). > > Since the string freeze is not yet in effect, it would be nice if these > strings were split into four distinct strings: "Format Header...", "Format > Footer...", "Delete Header...", "Delete Footer...". > In general you are right, but in this particular case you can translate STR_HEADER and STR_FOOTER from sw/source/ui/docvw/docvw.src with lower case, if it is required for your language, because they are only used to construct this popup menu. Best regards, Andras -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] Best way to create new help entries
Hi Andras Em 17-11-2011 09:05, Andras Timar escreveu: Hi, 2011/11/17 Alexander Thurgood: Hi all, I have an itch to scratch in the Base help (which I find totally lacking, but hey, just my opinion) and so I've been thinking about the best way to improve it : (1) hack the XHP files directly and then git diff them ; - how would I deal with new entries ? my understanding is that I need to create a new unique id somewhere ? That would work. It's not that hard to create new unique IDs. When you edit XHP files, you'll see where and how to use IDs. You can't do it wrong, because if you do, the build will break. So you'll notice. :) I am trying to add new content in the Math help, and I know alreay where to hack. But I am lost in the following example height="0.847cm">Icon id="bm_id3150844" localize="false"/> oldref="88">double arrow pointing right oldref="87">Inserts the logical operator arrow with double bar pointing right with two placeholders. You can also type drarrow in the Commands window. The id's I have no references are id="bm_id3150844" localize="false"/> Where these id's are generated and what should I do to get id suitable for a new table entry as this above? Is there a tool to edit or add new help entries? Thanks -- Olivier Hallot Founder, Board of Directors Member - The Document Foundation LibreOffice translation leader for Brazilian Portuguese +55-21-8822-8812 -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] Best way to create new help entries
Hi Olivier, 2011/11/19 Olivier Hallot : > Hi Andras > > Em 17-11-2011 09:05, Andras Timar escreveu: >> >> Hi, >> >> 2011/11/17 Alexander Thurgood: >>> >>> Hi all, >>> >>> I have an itch to scratch in the Base help (which I find totally >>> lacking, but hey, just my opinion) and so I've been thinking about the >>> best way to improve it : >>> >>> (1) hack the XHP files directly and then git diff them ; >>> - how would I deal with new entries ? my understanding is that I need to >>> create a new unique id somewhere ? >>> >> That would work. It's not that hard to create new unique IDs. When you >> edit XHP files, you'll see where and how to use IDs. You can't do it >> wrong, because if you do, the build will break. So you'll notice. :) >> > > I am trying to add new content in the Math help, and I know alreay where to > hack. But I am lost in the following example > > > > > > height="0.847cm">Icon > > id="bm_id3150844" localize="false"/> > > > oldref="88">double arrow pointing right > oldref="87">Inserts the logical operator > arrow with double bar pointing right with two > placeholders. You can also type drarrow in the > Commands window. > > > > > > The id's I have no references are > > > id="bm_id3150844" localize="false"/> > > > Where these id's are generated and what should I do to get id suitable for a > new table entry as this above? You can choose an arbitrary ID, it does not really matter. For example tbl_id4155359, providing that it is unique in the file. > > Is there a tool to edit or add new help entries? At Sun/Oracle help was edited with OpenOffice.org 1.1 using a special filter and a macro set. I don't think it is worth the effort to use that. Best regards, Andras -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] Best way to create new help entries
Hi Andras Em 19-11-2011 19:18, Andras Timar escreveu: The id's I have no references are Where these id's are generated and what should I do to get id suitable for a new table entry as this above? You can choose an arbitrary ID, it does not really matter. For example tbl_id4155359, providing that it is unique in the file. Thanks.. if the scope is the file, then it is really easy... Is there a tool to edit or add new help entries? At Sun/Oracle help was edited with OpenOffice.org 1.1 using a special filter and a macro set. I don't think it is worth the effort to use that. In that particular, I am sceptic to hack xhp files with vim editor for a long text or a new feature whose help is demanded. Can you point me to the mentioned ageing tool? Thank you -- Olivier Hallot Founder, Board of Directors Member - The Document Foundation LibreOffice translation leader for Brazilian Portuguese +55-21-8822-8812 -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] The new "Format $1..." / "Delete $1..." commands in 3.5
2011/11/19 Andras Timar > Hi Mihkel, > > 2011/11/19 Mihkel Tõnnov : > > Hi *, > > The 3.5 branch introduced new strings to format and delete header/footer > > ("Format $1..." and "Delete $1..." -- _XDs and wAFn, respectively), but > > these are coded in a way that the end result looks weird/wrong for > > languages which don't use Title Case as much as English ($1 is pulled > from > > separate strings where they start with a capital letter). > > > > Since the string freeze is not yet in effect, it would be nice if these > > strings were split into four distinct strings: "Format Header...", > "Format > > Footer...", "Delete Header...", "Delete Footer...". > > > > In general you are right, but in this particular case you can > translate STR_HEADER and STR_FOOTER from sw/source/ui/docvw/docvw.src > with lower case, if it is required for your language, because they are > only used to construct this popup menu. > OK, didn't know that -- thanks! I can live with that for Estonian, although there probably are languages where "Header" (or "Footer") is inflected differently with "Format" and "Delete", or where it would be natural to use different word order for them. So I really think constructing phrases this way should be avoided if possible. Regards, Mihkel -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] Best way to create new help entries
Hi Olivier, 2011/11/19 Olivier Hallot : >> At Sun/Oracle help was edited with OpenOffice.org 1.1 using a special >> filter and a macro set. I don't think it is worth the effort to use >> that. > > In that particular, I am sceptic to hack xhp files with vim editor for a > long text or a new feature whose help is demanded. > > Can you point me to the mentioned ageing tool? > Full documentation of help format and the tool is here: http://documentation.openoffice.org/online_help/OOo2HelpAuthoring.pdf I could not find the tool itself in source code of recent versions of OOo. Also, it is not in the repository. Maybe you can find it in the source of OOo 1.1. Best regards, Andras -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] Best way to create new help entries
19.11.2011 17:52, Andras Timar пишет: Hi Olivier, 2011/11/19 Olivier Hallot: At Sun/Oracle help was edited with OpenOffice.org 1.1 using a special filter and a macro set. I don't think it is worth the effort to use that. In that particular, I am sceptic to hack xhp files with vim editor for a long text or a new feature whose help is demanded. Can you point me to the mentioned ageing tool? Full documentation of help format and the tool is here: http://documentation.openoffice.org/online_help/OOo2HelpAuthoring.pdf I could not find the tool itself in source code of recent versions of OOo. Also, it is not in the repository. Maybe you can find it in the source of OOo 1.1. Best regards, Andras There is Extension Compiler. With it you can create xhp files directly in Writer. See http://wiki.services.openoffice.org/wiki/Extensions_Packager#Extension_Compiler . There is also midiawiki to xhp converter by hanya (mwxhp). It is in Japanese, but the documentation in english included inside archive: http://hermione.s41.xrea.com/pukiwiki/index.php?Extensions%2Fmwxhp There was also an extension for OpenOffice.org 1.1: helpauthoring2.oxt (here: http://ubuntuone.com/5sAd4EnOhhdPiJvhxLHpIb ). -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ;-)
Hi Michael, On Saturday, 2011-11-19 16:16:43 +, Michael Bauer wrote: > That's great Eike. Just a minor point, perhaps in might make sense > to change "gentive" to "inflected" or something as I don't think > every language requires the same case. Maybe, but it is referred to as genitive months / case / dates in other documentation, so I thought sticking to that would be a good idea. > Gaelic requires the partitive > for instance and there are probably others. Not that it matters that > much what we're calling it, I guess, as I can fill the genitive > field with a partitive all the same ;) Hopefully, if not please raise your hand :) 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+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ;-)
Hi Mihkel, On Saturday, 2011-11-19 19:20:05 +0200, Mihkel Tõnnov wrote: > > If the format code contains month > > (MMM or ) and day of month (D or DD) the possessive name is > > displayed, else (no D or DD code) the noun is displayed. > > > Where exactly is this going to be used -- Calc's date-formatted cells, > Writer's date-fields, ...? Everywhere where a numeric date value is displayed using the number formatter's month name codes, so yes, Calc's date-formatted cells, Writer's date fields, Chart's dates, I presume also Impress' and Base's dates. > And will it be strictly one way or the other, or will users be able to > choose which form (nominative/inflected) they want in a given context? > I ask because in Estonian both forms (and more :P ) could be used, > depending on sentence. This feature does not inspect sentences, it relies solely on the date format code of the number formatter, see 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+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -)
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: "n" for genitive and "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 with genitive form. Thus we > probably > should not add 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+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -)
Might it not be easier to call them Inflected1 and Inflected2 etc? It'll be up to each locale to ensure they handle it right but we're all well used to plurals being handled that way? It will probably save work down the line when team x mutters that their language needs an irrealis allative for dates ;) Michael -- -- Unsubscribe instructions: E-mail to l10n+h...@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
Re: [libreoffice-l10n] [ANNOUNCE] added possessive genitive case month names, HEADS UP localizers ; -)
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" "de" , > 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+h...@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