Re: [libreoffice-l10n] [ANNOUNCE] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-02-14 Thread Eike Rathke
Hi,

On Friday, 2012-01-20 21:14:29 +0100, Eike Rathke wrote:
 On Friday, 2012-01-20 13:32:26 +0100, Jean-Baptiste Faure wrote:
 
   Only one answer saying that fr_CH will be happy with D/M.
   
   Sigh.. so fr-CH will be happy with D/M for fr-FR ... because fr-CH
   doesn't even use '/' date separator..
  
  Indeed. But they use the dot as decimal separator and date separator. So
  there is a conflict if you type 1.2 in a cell.
 
 I wouldn't call that a conflict, 1.2 then takes precedence as decimal
 number. Adding D/M as date acceptance pattern is no problem, just how
 widespread is its use and would users be aware? This could be a case for
 D.M. if that's used in writing or informal speech. I have no idea.
 Would be good if fr-CH natives chimed in.

As there was no response I added D/M and D.M.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=5930f866b649db40e6ddfd5004d4133ccbb0ede0

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-27 Thread Eike Rathke
Hi Mihkel,

On Monday, 2012-01-23 19:37:01 +0200, Mihkel Tõnnov wrote:

 For Estonian, please add the officially correct incomplete date pattern
 D.M and also some which are technically not correct, but which are used
 nevertheless (and I don't think they'd conflict with anything, so it
 shouldn't hurt): D. M, D.M., D. M..

Done
http://cgit.freedesktop.org/libreoffice/core/commit/?id=e6870cf32d7e95aca07f260b9cc9965da3299cce

Btw, I noticed that et_EE uses identical characters for
QuotationStart/DoubleQuotationStart and QuotationEnd/DoubleQuotationEnd
which are both double quotation marks. QuotationStart/End are meant for
single quotation marks though.

Maybe I already asked this times ago over at OOo but forgot ...

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-27 Thread Eike Rathke
Hi alan.monfort,

On Monday, 2012-01-23 20:29:08 +0100, alan.monf...@free.fr wrote:

 For breton language, we use DD/MM for the short pattern, DD/MM/YY or DD/MM/YY 
 for the developped one.

Done
http://cgit.freedesktop.org/libreoffice/core/commit/?id=91e9cdd32943de6d3075a26e468bba11fa60bdee

Note that acceptance patterns don't use replicated codes, i.e. it
doesn't matter if a single or double digit day or month is entered, so
it's just a D/M pattern. D/M/Y is already generated from FormatElement
with index 21 (DD/MM/)

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-27 Thread Mihkel Tõnnov
2012/1/27 Marek Laane b...@smail.ee



 2012/1/27 Eike Rathke er...@redhat.com

 Hi Mihkel,

 On Monday, 2012-01-23 19:37:01 +0200, Mihkel Tõnnov wrote:

  For Estonian, please add the officially correct incomplete date pattern
  D.M and also some which are technically not correct, but which are
 used
  nevertheless (and I don't think they'd conflict with anything, so it
  shouldn't hurt): D. M, D.M., D. M..

 Done

 http://cgit.freedesktop.org/libreoffice/core/commit/?id=e6870cf32d7e95aca07f260b9cc9965da3299cce

 Btw, I noticed that et_EE uses identical characters for
 QuotationStart/DoubleQuotationStart and QuotationEnd/DoubleQuotationEnd
 which are both double quotation marks. QuotationStart/End are meant for
 single quotation marks though.

 Maybe I already asked this times ago over at OOo but forgot ...

  Eike

 That's probably because we as a rule don't use single quotation marks in
 Estonian (though there are some very specific uses). But apparently it
 would be wise have them at least in LO.

 Marek Laane


There are two correct options for single quotation marks: ‘ ’ (U+2018 and
U+2019) and ’ ’ (U+2019 and U+2019). I prefer the first option.
For reference: http://www.eki.ee/books/ekk09/index.php?p=2p1=11id=86 and
http://keeleabi.eki.ee/index.php?leht=8id=74 (both in Estonian)

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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-23 Thread Eike Rathke
Hi Niklas,

On Friday, 2012-01-20 17:01:24 +0100, Niklas Johansson wrote:

 When looking closer at the date- and time-formats for sv_SE I find a
 lot of duplicates of -MM-DD
 and YY-MM-DD. There are a few lets say  questionable formats there
 as well. When it comes to time-
 formats. I really hope we at least can have HH.MM and MM.SS

As said, there can be only one TimeSeparator that is recognized by the
input scanner, which currently is ':', you may change that to '.' and
need to adapt at least the format codes that are used to edit existing
values, see current locale.dtd for details.

If you don't want to change the TimeSeparator you can still add HH.MM or
MM.SS formats to the already existing (use formatindex above 50 for
that), but those wouldn't be used to edit times, which may confuse
users.

 Is it possible not to turn inputs on format MM.DD into dates in
 Calc.

If there is no M.D DateAcceptancePattern defined then such input will
not yield a date. This was the main point of the change :)

 It is much more likely that it is
 supposed to be a time value HH.MM?

Would be recognized as time only if the TimeSeparator would be '.'
instead of ':'

 MM-DD is good to have accepted though. Not really sure if it's
 possible.

With DateAcceptancePattern M-D yes.

 I will have a closer look at the current formats and discuss them
 locally. But that might take some
 time so. I appended a few formats to the sv_SE.xml do you want a
 patch, or how should i proceed?

Yes, a patch diff would be appreciated.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-23 Thread Eike Rathke
Hi Harri,

On Friday, 2012-01-20 19:11:00 +0200, Harri Pitkänen wrote:

 For Finnish (fi_FI) please add D.M., I don't think other abbreviated 
 formats 
 are used here.

Added
http://cgit.freedesktop.org/libreoffice/core/commit/?id=49e685663146b9ad59a47cfaf9cf499fc6a6b937

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-23 Thread Eike Rathke
Hi Zeki,

On Saturday, 2012-01-21 00:01:45 +0200, Zeki Bildirici wrote:

 D.M
 D/M
 D-M
 should be all fine for tr-TR (Turkish). The common seperator is .
 but there is not a rule for it so any seperator can be used.

Added
http://cgit.freedesktop.org/libreoffice/core/commit/?id=2d8a5940a0369127602fcc6144e9c31aae4917bd

 I checked MS Excel and all the above are completed fine.

I think (not sure) Excel does that for all locales, as we did before,
leading to the same annoyances.

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-23 Thread Mihkel Tõnnov
For Estonian, please add the officially correct incomplete date pattern
D.M and also some which are technically not correct, but which are used
nevertheless (and I don't think they'd conflict with anything, so it
shouldn't hurt): D. M, D.M., D. M..

Best 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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-23 Thread alan . monfort
Hello,

For breton language, we use DD/MM for the short pattern, DD/MM/YY or DD/MM/YY 
for the developped one.
Many thanks.
Best regards
Alan



For Estonian, please add the officially correct incomplete date pattern
D.M and also some which are technically not correct, but which are used
nevertheless (and I don't think they'd conflict with anything, so it
shouldn't hurt): D. M, D.M., D. M..

Best 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



-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-20 Thread Jean-Baptiste Faure
Le 19/01/2012 23:53, Eike Rathke a écrit :
 Hi Jean-Baptiste,
 
 On Thursday, 2012-01-19 22:33:43 +0100, Jean-Baptiste Faure wrote:
 
 Only one answer saying that fr_CH will be happy with D/M.
 
 Sigh.. so fr-CH will be happy with D/M for fr-FR ... because fr-CH
 doesn't even use '/' date separator..

Indeed. But they use the dot as decimal separator and date separator. So
there is a conflict if you type 1.2 in a cell.

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-20 Thread Niklas Johansson

Hi again

When looking closer at the date- and time-formats for sv_SE I find a lot 
of duplicates of -MM-DD
and YY-MM-DD. There are a few lets say  questionable formats there as 
well. When it comes to time-

formats. I really hope we at least can have HH.MM and MM.SS

Is it possible not to turn inputs on format MM.DD into dates in Calc. It 
is much more likely that it is
supposed to be a time value HH.MM? MM-DD is good to have accepted 
though. Not really sure

if it's possible.

I will have a closer look at the current formats and discuss them 
locally. But that might take some
time so. I appended a few formats to the sv_SE.xml do you want a patch, 
or how should i proceed?


Thanks,
Niklas Johansson


Niklas Johansson skrev 2012-01-18 18:08:

Hi Eike


[... time separator ...]
Is it possible to accept both . and : as separators?

No, only one is possible.

OK, good to know.

EU-standard (not seen that often but since were in the EU and all EU
documents ,
use this format it would be a good thing to support):
D.M
D.M.
Which standard would that be? I only know of EN 28601 that followed 
ISO 8601.
Sorry, bad choice of words. The source of information that I used are 
the recommendations
that Språkrådet (the Swedish language council) gives. In their book 
Svenska skrivregler
they state that the format D.M. is used in all EU-documents 
regardless of language.

After some searching on the net I found publications I found this link:
http://publications.europa.eu/code/en/en-4100500en.htm
And a few more (Swedish and English) that said something similar to
Dates in the text should always be given in their full form (6 June 
1992), whereas in footnotes they should always be abbreviated, i.e. 
6.6.1992, not 6.6.92

You can define as many date formats (to display dates) you want by just
adding them to the locale data file starting with formatindex=50, too
many formats in the dialog may just confuse users though..
Thank you, I'll have a closer look. Did a quick test build and was 
able to add D/M .
I'll discuss things further on the Swedish list and get back to you as 
soon as possible.

For date acceptance patterns, as long as the DMY order stays the same
within one locale also multiple separators can be used, ISO 8601 and its
YMD order is always supported internally, no need to define anything for
that.
OK, in other words D/M might be a problem for us since the most common 
format is -MM-DD.
I don't think it really matters that much, the most important 
(commonly used) formats

are already supported.

--
Thanks,
/Niklas


--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-20 Thread Harri Pitkänen
On Thursday 12 January 2012, Eike Rathke wrote:
 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need a DateAcceptancePattern element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).
 
 Just mail me the pattern(s) for your locale, I'll add it then.

For Finnish (fi_FI) please add D.M., I don't think other abbreviated formats 
are used here.

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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-20 Thread Eike Rathke
Hi Jean-Baptiste,

On Friday, 2012-01-20 13:32:26 +0100, Jean-Baptiste Faure wrote:

  Only one answer saying that fr_CH will be happy with D/M.
  
  Sigh.. so fr-CH will be happy with D/M for fr-FR ... because fr-CH
  doesn't even use '/' date separator..
 
 Indeed. But they use the dot as decimal separator and date separator. So
 there is a conflict if you type 1.2 in a cell.

I wouldn't call that a conflict, 1.2 then takes precedence as decimal
number. Adding D/M as date acceptance pattern is no problem, just how
widespread is its use and would users be aware? This could be a case for
D.M. if that's used in writing or informal speech. I have no idea.
Would be good if fr-CH natives chimed in.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-20 Thread Zeki Bildirici
12 Ocak 2012 15:43 tarihinde Eike Rathke er...@redhat.com yazdı:
 Hi,
 Just mail me the pattern(s) for your locale, I'll add it then.

Hi,

D.M
D/M
D-M
should be all fine for tr-TR (Turkish). The common seperator is .
but there is not a rule for it so any seperator can be used. I checked
MS Excel and all the above are completed fine.

Regards,
Zeki

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Takeshi Abe
Hi Eike,

On Thu, 12 Jan 2012 14:43:47 +0100, Eike Rathke er...@redhat.com wrote:
 In order to get rid of the annoying accept every input as date that
 might resemble some date in almost any locale behavior I recently
 implemented locale dependent date acceptance patterns that need to be
 matched for date input, for full details see
 http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html
Thanks a lot for your work!

(snip)
 Just mail me the pattern(s) for your locale, I'll add it then.
For ja_JP could you add the same patterns as the following one for zh_CN:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=605707652afebf0e5c90311adcc7767ebe807e45

Cheers,
-- Takeshi Abe

 
 Thanks
   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
 

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Eike Rathke
Hi Takeshi,

On Thursday, 2012-01-19 22:54:25 +0900, Takeshi Abe wrote:

 For ja_JP could you add the same patterns as the following one for zh_CN:
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=605707652afebf0e5c90311adcc7767ebe807e45

Done, except that I used Y/M/D instead of Y/M/D as the latter is
already automatically generated from the /MM/DD date format, ja-JP
uses '/' instead of '/' as date separator.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=af25972c19bcd0bef7739bd777c67907d61b2b16

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Jean-Baptiste Faure
Le 18/01/2012 14:37, Eike Rathke a écrit :
 Hi Jean-Baptiste,
 
 On Sunday, 2012-01-15 07:34:09 +0100, Jean-Baptiste Faure wrote:
 
 I think for fr_FR we need D/M.
 Asked for other FR variants on discuss@fr ML.
 
 Any news on that? If not, I'll just add D/M

Only one answer saying that fr_CH will be happy with D/M.

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Eike Rathke
Hi Yury,

On Wednesday, 2012-01-18 18:21:29 +0200, Yury Tarasievich wrote:

 ... I'm confused now, does be-BY want incomplete date patterns, yes or
 no?
 
 Yes. Sorry.

Ok ;-) done
http://cgit.freedesktop.org/libreoffice/core/commit/?id=09c1d111208619197fa851b21ff24bd261a93b15

 And also it wants a possibility to switch off incomplete date
 recognition completely? Is this doable?

No (not yet?)  Best would be to implement an editable list of not
auto-generated patterns, so the user could add/remove to her likes.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Aferkiw N Tamazgha
Hi Eike,

Ok it seem D/M is probably the best.

Regards,

AAK

On Wed, Jan 18, 2012 at 3:42 PM, Eike Rathke er...@redhat.com wrote:

 Hi Aferkiw,

 On Wednesday, 2012-01-18 00:05:58 +0100, Aferkiw N Tamazgha wrote:

  I don't understand ...
 
  What I need to change for kab_DZ 

 kab-DZ uses DD/MM/ as edit date format, so D/M/Y is generated as
 date acceptance pattern. If additionally the input of incomplete dates,
 consisting of day and month only, shall be accepted, it would need
 a defined D/M or D/M/ pattern, probably D/M

  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



-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Eike Rathke
Hi Aferkiw,

On Thursday, 2012-01-19 23:21:23 +0100, Aferkiw N Tamazgha wrote:

 Ok it seem D/M is probably the best.

Added
http://cgit.freedesktop.org/libreoffice/core/commit/?id=bffecae79a79feec906f55f25d0d563915d64c6e

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Eike Rathke
Hi Jean-Baptiste,

On Thursday, 2012-01-19 22:33:43 +0100, Jean-Baptiste Faure wrote:

 Only one answer saying that fr_CH will be happy with D/M.

Sigh.. so fr-CH will be happy with D/M for fr-FR ... because fr-CH
doesn't even use '/' date separator..

Anyway, now added D/M to fr-FR, fr-BE and fr-LU

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-19 Thread Yury Tarasievich

On 01/19/2012 11:46 PM, Eike Rathke wrote:


And also it wants a possibility to switch off incomplete date
recognition completely? Is this doable?


No (not yet?)  Best would be to implement an editable list of not
auto-generated patterns, so the user could add/remove to her likes.

...

Well, I really believe we could do without 
another editable list in the auto-correction. :)


Yury

--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-18 Thread Eike Rathke
Hi Jean-Baptiste,

On Sunday, 2012-01-15 07:34:09 +0100, Jean-Baptiste Faure wrote:

 I think for fr_FR we need D/M.
 Asked for other FR variants on discuss@fr ML.

Any news on that? If not, I'll just add D/M

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-18 Thread Eike Rathke
Hi Yury,

On Wednesday, 2012-01-18 09:24:42 +0200, Yury Tarasievich wrote:

 Of course, if the functionality is there, anyway, and has to be
 fed something, even such not-quite-intuitive forms will do.

It doesn't _have_ to be fed something, without a specific pattern only
input of a full date (here D.M.Y) yields a date and input of incomplete
dates will not be possible.

 *In fact, I hereby request D/M/ and D.M. for the be_BY, please.*

No problem, would do, but ...

 But it would be ever so better to have a possibility for computer to
 not second-guess at all, as such guesses might even be culturally
 irrelevant.

... I'm confused now, does be-BY want incomplete date patterns, yes or
no?

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-18 Thread Eike Rathke
Hi Niklas,

On Tuesday, 2012-01-17 11:09:57 +0100, Niklas Johansson wrote:

 [... time separator ...]
 Is it possible to accept both . and : as separators?

No, only one is possible.

 Common dateformats that LibreOffice doesn't support for Swedish include:
 D/M
 D/M 
 
 EU-standard (not seen that often but since were in the EU and all EU
 documents ,
 use this format it would be a good thing to support):
 D.M
 D.M.

Which standard would that be? I only know of EN 28601 that followed ISO 8601.

 The SS-ISO 8601 standard -MM-DD is the most frequently used format and
 the current standard for Swedish in LibreOffice. Is it possible to
 support all
 these formats?

You can define as many date formats (to display dates) you want by just
adding them to the locale data file starting with formatindex=50, too
many formats in the dialog may just confuse users though..

For date acceptance patterns, as long as the DMY order stays the same
within one locale also multiple separators can be used, ISO 8601 and its
YMD order is always supported internally, no need to define anything for
that.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-18 Thread Eike Rathke
Hi Aferkiw,

On Wednesday, 2012-01-18 00:05:58 +0100, Aferkiw N Tamazgha wrote:

 I don't understand ...
 
 What I need to change for kab_DZ 

kab-DZ uses DD/MM/ as edit date format, so D/M/Y is generated as
date acceptance pattern. If additionally the input of incomplete dates,
consisting of day and month only, shall be accepted, it would need
a defined D/M or D/M/ pattern, probably D/M

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-18 Thread Yury Tarasievich

On 01/18/2012 03:50 PM, Eike Rathke wrote:
...

But it would be ever so better to have a possibility for computer to
not second-guess at all, as such guesses might even be culturally
irrelevant.


... I'm confused now, does be-BY want incomplete date patterns, yes or
no?


Yes. Sorry.

And also it wants a possibility to switch off 
incomplete date recognition completely? Is 
this doable?


Thanks!

Yury

--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-18 Thread Cheng-Chia Tseng
On Wed, Jan 18, 2012 at 12:05 AM, Eike Rathke er...@redhat.com wrote:
 Hi Cheng-Chia,

 On Tuesday, 2012-01-17 12:22:17 +0800, Cheng-Chia Tseng wrote:

 For zh-TW, full date patterns are:
 Y-M-D
 Y/M/D
 Y.M.D

 Y-M-D is the always accepted ISO 8601 pattern, and Y/M/D is already
 generated from FormatElement formatindex=21, no need for those. Added
 Y.M.D

 And incomplete date patterns are:
 M-D
 M/D
 M.D

 With decimal separator '.' the M.D pattern is not possible, added the
 other two. Also added Y年M月D日 and M月D日 as those are defined in
 the format codes, I hope that was correct..

 http://cgit.freedesktop.org/libreoffice/core/commit/?id=fa836f7bf0fcdab6029320bdf7830c561d5ea823

 Thanks
  Eike


Thank you a lot! That was correct. :)


-- 
Sincerely,
by Cheng-Chia Tseng

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-18 Thread Niklas Johansson

Hi Eike


[... time separator ...]
Is it possible to accept both . and : as separators?

No, only one is possible.

OK, good to know.

EU-standard (not seen that often but since were in the EU and all EU
documents ,
use this format it would be a good thing to support):
D.M
D.M.

Which standard would that be? I only know of EN 28601 that followed ISO 8601.
Sorry, bad choice of words. The source of information that I used are 
the recommendations
that Språkrådet (the Swedish language council) gives. In their book 
Svenska skrivregler
they state that the format D.M. is used in all EU-documents 
regardless of language.

After some searching on the net I found publications I found this link:
http://publications.europa.eu/code/en/en-4100500en.htm
And a few more (Swedish and English) that said something similar to
Dates in the text should always be given in their full form (6 June 
1992), whereas in footnotes they should always be abbreviated, i.e. 
6.6.1992, not 6.6.92

You can define as many date formats (to display dates) you want by just
adding them to the locale data file starting with formatindex=50, too
many formats in the dialog may just confuse users though..
Thank you, I'll have a closer look. Did a quick test build and was able 
to add D/M .
I'll discuss things further on the Swedish list and get back to you as 
soon as possible.

For date acceptance patterns, as long as the DMY order stays the same
within one locale also multiple separators can be used, ISO 8601 and its
YMD order is always supported internally, no need to define anything for
that.
OK, in other words D/M might be a problem for us since the most common 
format is -MM-DD.
I don't think it really matters that much, the most important (commonly 
used) formats

are already supported.

--
Thanks,
/Niklas

--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Yury,

On Tuesday, 2012-01-17 07:41:42 +0200, Yury Tarasievich wrote:

 For Belarusian, D.M with no more than two digits per part might do
 (is the two-digit limit enforcable?).

The pattern is just a prerequisite, if the number input doesn't form
a valid date it doesn't lead to a date even if the pattern was matched,
so anything like 32.13 already wouldn't be a valid date.

 Actually, it'd be better to have possibility of switching off the
 feature altogether, across the installation, as the traditional
 fractional part separator /comma/ tends quite often to be
 substituted by the /dot/, in these times.

I'm not sure I understand. If you're saying that people tend to input
decimal numbers as #.# instead of #,# then better not define the D.M
date acceptance pattern to prevent confusion, and a #.# input will just
be a textual string. Is that what you meant?

 Historically, it was often D/M (D in Arabic numerals, M in Roman).

With roman numbers that wouldn't work. We could define a D/M pattern,
but input would have to be in Arabic numerals.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi leif,

On Monday, 2012-01-16 18:59:46 +0100, leif wrote:

 Same for Danish (da_DK):D/M/ and D.M.

Hmm.. sure? da-DK defines '-' dash as date separator.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Sveinn,

On Monday, 2012-01-16 08:29:48 +, Sveinn í Felli wrote:

 I think for Icelandic (is_IS) it should be D/M/ and D.M.

Done
http://cgit.freedesktop.org/libreoffice/core/commit/?id=3cc4917c2df89d427ea9ae3fdba9e8a5c9df6371

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Ankitkumar,

On Monday, 2012-01-16 13:06:50 +0530, Ankitkumar Rameshchandra Patel wrote:

 I just noticed that locale data apart from Date Patterns also needs to
 be updated for the language (Gujarati - gu_IN) I co-ordinate. Will it be
 possible for you to update everything together? I can pass the updated
 gu_IN.xml file.

Yes, of course, that's fine. If possible I'd prefer a diff against the
latest revision in the repository though instead of the entire file.
Always better in case other changes went in in the mean time.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Serg,

On Sunday, 2012-01-15 19:11:54 +0400, Serg Bormant wrote:

 I think for ru_RU we need D/M/ and D.M..

Note that ru-RU doesn't define any D/M/Y format, however, I added the
D/M/ input pattern as requested.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=054b910f72de25e085f1fd54e37118503cd5a527

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Modestas,

On Saturday, 2012-01-14 17:56:06 +0200, Modestas Rimkus wrote:

 please add M-D pattern for Lithuanian (lt). This should be converted into
 two-digit numbers and result in -MM-DD. Thanks.

Done
http://cgit.freedesktop.org/libreoffice/core/commit/?id=87b12c42717a3488cc179d07cf42ace2335aced4

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Michael,

On Saturday, 2012-01-14 14:45:29 +, Michael Bauer wrote:

 For gd, the patterns are D.M, D/M and D-M (technically gd-GB but I
 think right now we've only got gd and aren't separating gd-GB and
 gd-CA)

We only have gd-GB.

Note that D.M can't be used as it would be a decimal number. D.M. would
be possible, but I don't know if that's used. I added D/M and D-M for
now.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=197c0ef041fb92ba08d6440258e59485c81214a2

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Freek,

On Saturday, 2012-01-14 15:38:01 +0100, Freek de Kruijf wrote:

 For nl, if needed both nl_NL and nl_BE there are two patterns:
 
 D/M and D-M

Added D-M to nl-NL
http://cgit.freedesktop.org/libreoffice/core/commit/?id=741282c6e8d82c31c534b2e30dbc4ba8ca21299e
and D/M to nl-BE
http://cgit.freedesktop.org/libreoffice/core/commit/?id=abfbda01c8faa06f7c97692c25be0e8419cd2c48

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Dean,

On Monday, 2012-01-16 18:16:25 +0800, Dean Lee wrote:

 For zh-CN, these patterns are commonly used by typists:
 
 M-D
 M.D
 M/D
 Y-M-D
 Y.M.D
 Y/M/D

Note that M.D is not possible as it would be the input of a decimal
number, Y.M.D is fine. Y-M-D is the always accepted ISO 8601 input
format and doesn't need to be explicitly mentioned. Added all others.
I also added M/D with U+FF0F FULLWIDTH SOLIDUS as that is used as the
locale's date separator. And I added Y年M月D日 and M月D日 as well as
they are defined in the date formats, I hope that was correct..
http://cgit.freedesktop.org/libreoffice/core/commit/?id=605707652afebf0e5c90311adcc7767ebe807e45

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Eike Rathke
Hi Milos,

On Saturday, 2012-01-14 20:39:42 +0100, Milos Sramek wrote:

 I found several incorrect items in sk_SK.xml. When corrected, may I send
 it to you, too?

Yes, of course.

 Is it somehow possible to test such file before sending it?

Only by building LibO, as the xml files are converted to binary data
during the build process. The mere syntactical XML correctness can be
checked with a validator, but that doesn't detect any problems regarding
content, see i18npool/source/localedata/data/locale.dtd


 Regarding Acceptance patterns. Currently, we have in Slovak:
 11. converts o 11.02.12
 11.2 converts to 11.02.12
 Which is OK, I just would prefer 11.02.2012

Then you need a different default medium format, currently FormatElement
with formatindex=20 has default=true, that needed to be
default=false and FormatElement with formatindex=21 set to
default=true instead.

For 11. and 11.2 you'd need to add

DateAcceptancePatternD./DateAcceptancePattern
DateAcceptancePatternD.M/DateAcceptancePattern

though past user experience was that the D. input converted to date
sometimes was considered annoying, also D.M, but of course that differs
by cultural background.


 11-2 also converts to 11.02.12, but I would prefer 2012-01-11
 Would that be possible?

No, only a full ISO 8601 Y-M-D date input will display as -MM-DD if
the locale's format is different.

 Both forms (with . and -) are OK according to
 Slovak standard, so it makes sense to have both these possibilities.
 In fact, no format is defined with the |DateAcceptancePattern |tag.
 Which one is used then? The default one?

As written in my blog article the default full date acceptance pattern
is generated from FormatElement formatindex=21, for sk-SK that's
DD.MM. so the pattern is D.M.Y

 In fact, can we have different default format for Cand and for Writer?

No.

 This makes sense for me - in Calc I find 11.02.2012 more appropriate,
 but in Writer
 11. február 2012 should be prefered.
 
 And the last one: In  11. február 2012, február is in the nominative
 case. However we should use genitive: februára. Is it possible to
 specify that?
 Currently, the misuse the Month tag
 Month
   MonthIDfeb/MonthID
   DefaultAbbrvNamefebruár/DefaultAbbrvName
   DefaultFullNamefebruára/DefaultFullName
 /Month
 but it leads often to nonsense.

That's now possible :-) see
http://erack.org/blog/archives/2-LibreOffice-possessive-genitive-case-and-partitive-case-month-names.html

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Niklas Johansson

Hi

I'm currently looking in to the Swedish (sv-SE) date-patterns. I'm not 
quite sure how to deal
with a few things. In Sweden the official standard for time is H.MM 
(or HH.MM).
It is also very common and accepted to use the international standard 
with : as a
separator. It is so common that it actually got changed to this i 
OpenOffice.org and

inherited into LibreOffice.

Is it possible to accept both . and : as separators?

Common dateformats that LibreOffice doesn't support for Swedish include:
D/M
D/M 

EU-standard (not seen that often but since were in the EU and all EU 
documents ,

use this format it would be a good thing to support):
D.M
D.M.

The SS-ISO 8601 standard -MM-DD is the most frequently used format and
the current standard for Swedish in LibreOffice. Is it possible to 
support all

these formats?

When it comes to date acceptance I'd say that maybe D/M might be good to 
accept
besides the ISO standard of course. I do not think that it is a good 
idea to accept

the D.M though.

I did a quick test modifying the sv_SE.xml but got stuck building 
afterwards.


I suppose my later questions all depend if there is any possibility to 
support

multiple separators.

Thank you for any guidence
Niklas Johansson


Eike Rathke skrev 2012-01-12 14:43:

Hi,

In order to get rid of the annoying accept every input as date that
might resemble some date in almost any locale behavior I recently
implemented locale dependent date acceptance patterns that need to be
matched for date input, for full details see
http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html

If in your locale input of incomplete/abbreviated dates shall be
allowed, this will need aDateAcceptancePattern  element be added to
locale data, for example in en-US it's M/D and in de-DE it's D.M.
(both already in).

Just mail me the pattern(s) for your locale, I'll add it then.

Thanks
   Eike



--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Aferkiw N Tamazgha
Hello,

I don't understand ...

What I need to change for kab_DZ 

On Tue, Jan 17, 2012 at 11:09 AM, Niklas Johansson 
sleeping.pil...@gmail.com wrote:

 Hi

 I'm currently looking in to the Swedish (sv-SE) date-patterns. I'm not
 quite sure how to deal
 with a few things. In Sweden the official standard for time is H.MM (or
 HH.MM).
 It is also very common and accepted to use the international standard with
 : as a
 separator. It is so common that it actually got changed to this i
 OpenOffice.org and
 inherited into LibreOffice.

 Is it possible to accept both . and : as separators?

 Common dateformats that LibreOffice doesn't support for Swedish include:
 D/M
 D/M 

 EU-standard (not seen that often but since were in the EU and all EU
 documents ,
 use this format it would be a good thing to support):
 D.M
 D.M.

 The SS-ISO 8601 standard -MM-DD is the most frequently used format and
 the current standard for Swedish in LibreOffice. Is it possible to support
 all
 these formats?

 When it comes to date acceptance I'd say that maybe D/M might be good to
 accept
 besides the ISO standard of course. I do not think that it is a good idea
 to accept
 the D.M though.

 I did a quick test modifying the sv_SE.xml but got stuck building
 afterwards.

 I suppose my later questions all depend if there is any possibility to
 support
 multiple separators.

 Thank you for any guidence
 Niklas Johansson


 Eike Rathke skrev 2012-01-12 14:43:

  Hi,

 In order to get rid of the annoying accept every input as date that
 might resemble some date in almost any locale behavior I recently
 implemented locale dependent date acceptance patterns that need to be
 matched for date input, for full details see
 http://erack.org/blog/**archives/8-LibreOffice-date-**
 acceptance-patterns.htmlhttp://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html

 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need aDateAcceptancePattern  element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).

 Just mail me the pattern(s) for your locale, I'll add it then.

 Thanks
   Eike


 --
 Unsubscribe instructions: E-mail to 
 l10n+help@global.libreoffice.**orgl10n%2bh...@global.libreoffice.org
 Problems? http://www.libreoffice.org/**get-help/mailing-lists/how-to-**
 unsubscribe/http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
 Posting guidelines + more: http://wiki.**documentfoundation.org/**
 Netiquette http://wiki.documentfoundation.org/Netiquette
 List archive: 
 http://listarchives.**libreoffice.org/global/l10n/http://listarchives.libreoffice.org/global/l10n/
 All messages sent to this list will be publicly archived and cannot be
 deleted



-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-17 Thread Yury Tarasievich

On 01/17/2012 05:23 PM, Eike Rathke wrote:

On Tuesday, 2012-01-17 07:41:42 +0200, Yury Tarasievich wrote:



Actually, it'd be better to have possibility of switching off the
feature altogether, across the installation, as the traditional
fractional part separator /comma/ tends quite often to be
substituted by the /dot/, in these times.


I'm not sure I understand. If you're saying that people tend to input
decimal numbers as #.# instead of #,# then better not define the D.M
date acceptance pattern to prevent confusion, and a #.# input will just
be a textual string. Is that what you meant?


No, no. Just that these times some people 
(who've taken pains to learn computer, for 
example) tend to use *both* traditional /comma/ 
and non-traditional /dot/ indiscriminately. Sort 
of, putting /dot/ in decimal separator place, 
because it's so in computer.


E.g., once upon a time I myself wanted a quick 
spreadsheet or something, and began to enter 
numbers with /dot/ (what blessed difference 
does it make?). Imagine an annoyment when my 
inputs were one by one converted to dates (what 
about user working on an installation without a 
favourite locale?) And then I had to hunt for 
the switch-off, because the first place I turned 
to was in Preferences-OOO-General, and there 
wasn't anything about this besides the 
interpret two-digit year as.


Now, I've noticed that guys from ru_RU team 
requested D/M/ and D.M., precisely for that 
reason, I believe (/slash/ is, of course, a 
traditional symbol for a fraction or division 
sign; single /dot/ is handier to have just as a 
fractional part separator).


But, in fact, both forms are somewhat 
counterproductive, because these 1) are not 
guessable and will require separate learning by 
the user (nobody without specifically learning 
those will enter one of the sequences 
deliberately), and 2) are anyway two digits away 
from the short form of the date (DD.MM.YY).


Of course, if the functionality is there, 
anyway, and has to be fed something, even such 
not-quite-intuitive forms will do. *In fact, I 
hereby request D/M/ and D.M. for the be_BY, 
please.*


But it would be ever so better to have a 
possibility for computer to not second-guess at 
all, as such guesses might even be culturally 
irrelevant.



Historically, it was often D/M (D in Arabic numerals, M in Roman).


With roman numbers that wouldn't work. We could define a D/M pattern,
but input would have to be in Arabic numerals.


No need to, as it was historical example, anyway.

Yury

--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-16 Thread Sveinn í Felli

Þann fim 12.jan 2012 13:43, skrifaði Eike Rathke:


If in your locale input of incomplete/abbreviated dates shall be
allowed, this will need aDateAcceptancePattern  element be added to
locale data, for example in en-US it's M/D and in de-DE it's D.M.
(both already in).

Just mail me the pattern(s) for your locale, I'll add it then.



I think for Icelandic (is_IS) it should be D/M/ and D.M.

Regards,
Sveinn í Felli


--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-16 Thread Cheng-Chia Tseng
Sorry, to add one more pattern.

For zh-TW, full date patterns are:
Y-M-D
Y/M/D
Y.M.D

And incomplete date patterns are:
M-D
M/D
M.D

On Tue, Jan 17, 2012 at 12:20 PM, Cheng-Chia Tseng pswo10...@gmail.com wrote:
 For zh-TW, full date patterns are:
 Y-M-D
 Y/M/D

 And incomplete date patterns are:
 M-D
 M/D


 --
 Sincerely,
 by Cheng-Chia Tseng



-- 
Sincerely,
by Cheng-Chia Tseng

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-16 Thread Yury Tarasievich
For Belarusian, D.M with no more than two digits 
per part might do (is the two-digit limit 
enforcable?).


Actually, it'd be better to have possibility of 
switching off the feature altogether, across 
the installation, as the traditional fractional 
part separator /comma/ tends quite often to be 
substituted by the /dot/, in these times.


Historically, it was often D/M (D in Arabic 
numerals, M in Roman).


Yury

On 01/12/2012 03:43 PM, Eike Rathke wrote:

In order to get rid of the annoying accept every input as date that
might resemble some date in almost any locale behavior I recently
implemented locale dependent date acceptance patterns that need to be

...

--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-15 Thread Serg Bormant
Hi,

2012/1/12 Eike Rathke er...@redhat.com:

 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need a DateAcceptancePattern element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).

 Just mail me the pattern(s) for your locale, I'll add it then.

I think for ru_RU we need D/M/ and D.M..

-- 
wbr, sb

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-15 Thread Ankitkumar Rameshchandra Patel

On 01/12/2012 07:13 PM, Eike Rathke wrote:

Hi,

In order to get rid of the annoying accept every input as date that
might resemble some date in almost any locale behavior I recently
implemented locale dependent date acceptance patterns that need to
be matched for date input, for full details see
http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html

 If in your locale input of incomplete/abbreviated dates shall be
allowed, this will need aDateAcceptancePattern  element be added
to locale data, for example in en-US it's M/D and in de-DE it's
D.M. (both already in).

Just mail me the pattern(s) for your locale, I'll add it then.

Thanks Eike



Hi Eike,

I just noticed that locale data apart from Date Patterns also needs to
be updated for the language (Gujarati - gu_IN) I co-ordinate. Will it be
possible for you to update everything together? I can pass the updated
gu_IN.xml file.

Thanks!
--
Regards,
Ankit Patel
http://www.ankit644.com/

--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-14 Thread Freek de Kruijf
On donderdag 12 januari 2012 14:43:47 Eike Rathke wrote:
 Hi,
 
 In order to get rid of the annoying accept every input as date that
 might resemble some date in almost any locale behavior I recently
 implemented locale dependent date acceptance patterns that need to be
 matched for date input, for full details see
 http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html
 
 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need a DateAcceptancePattern element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).
 
 Just mail me the pattern(s) for your locale, I'll add it then.
 
 Thanks
   Eike

For nl, if needed both nl_NL and nl_BE there are two patterns:

D/M and D-M

-- 
fr.gr.

Freek de Kruijf

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-14 Thread Michael Bauer



  Hi,
  
  In order to get rid of the annoying accept every input as date that

  might resemble some date in almost any locale behavior I recently
  implemented locale dependent date acceptance patterns that need to be
  matched for date input, for full details see
  http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html
  
  If in your locale input of incomplete/abbreviated dates shall be

  allowed, this will need aDateAcceptancePattern  element be added to
  locale data, for example in en-US it's M/D and in de-DE it's D.M.
  (both already in).
  
  Just mail me the pattern(s) for your locale, I'll add it then.
  
  Thanks

 Eike
For gd, the patterns are D.M, D/M and D-M (technically gd-GB but I think 
right now we've only got gd and aren't separating gd-GB and gd-CA)


Thanks to the Anglo-American Bable, no-one is really sure about the 
separators any more. But thanks for sorting this out!


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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-14 Thread Modestas Rimkus
On Jan 12, 2012 3:44 PM, Eike Rathke er...@redhat.com wrote:

 Hi,

 In order to get rid of the annoying accept every input as date that
 might resemble some date in almost any locale behavior I recently
 implemented locale dependent date acceptance patterns that need to be
 matched for date input, for full details see
 http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html

 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need a DateAcceptancePattern element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).

 Just mail me the pattern(s) for your locale, I'll add it then.

Hi,

please add M-D pattern for Lithuanian (lt). This should be converted into
two-digit numbers and result in -MM-DD. Thanks.

Modestas

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-14 Thread Sérgio Marques
2012/1/13 Eike Rathke er...@redhat.com


 In master

 http://cgit.freedesktop.org/libreoffice/core/commit/?id=c5fddb08424c54300b26fc3af19acbbfe84f9fd2


 Done

 http://cgit.freedesktop.org/libreoffice/core/commit/?id=12eb7da661635a64272e32204f246d0a5c299ccd

 Thanks
   Eike

 Thanks Eike


-- 
Sérgio Marques

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-14 Thread Milos Sramek
Hi Eike,

thank you for pointing to the existence of these xml files.

I found several incorrect items in sk_SK.xml. When corrected, may I send
it to you, too?
Is it somehow possible to test such file before sending it?

Regarding Acceptance patterns. Currently, we have in Slovak:
11. converts o 11.02.12
11.2 converts to 11.02.12
Which is OK, I just would prefer 11.02.2012


11-2 also converts to 11.02.12, but I would prefer 2012-01-11
Would that be possible? Both forms (with . and -) are OK according to
Slovak standard, so it makes sense to have both these possibilities.
In fact, no format is defined with the |DateAcceptancePattern |tag.
Which one is used then? The default one?

In fact, can we have different default format for Cand and for Writer?
This makes sense for me - in Calc I find 11.02.2012 more appropriate,
but in Writer
11. február 2012 should be prefered.

And the last one: In  11. február 2012, február is in the nominative
case. However we should use genitive: februára. Is it possible to
specify that?
Currently, the misuse the Month tag
Month
  MonthIDfeb/MonthID
  DefaultAbbrvNamefebruár/DefaultAbbrvName
  DefaultFullNamefebruára/DefaultFullName
/Month
but it leads often to nonsense.

Thanks in advance,
Milos



Dňa 12.01.2012 14:43, Eike Rathke  wrote / napísal(a):
 Hi,

 In order to get rid of the annoying accept every input as date that
 might resemble some date in almost any locale behavior I recently
 implemented locale dependent date acceptance patterns that need to be
 matched for date input, for full details see
 http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html

 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need a DateAcceptancePattern element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).

 Just mail me the pattern(s) for your locale, I'll add it then.

 Thanks
   Eike



-- 
email  jabber: sramek.mi...@gmail.com


-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-14 Thread Jean-Baptiste Faure
Le 12/01/2012 14:43, Eike Rathke a écrit :
 Hi,
 
 [...]
 
 Just mail me the pattern(s) for your locale, I'll add it then.

Hi Eike,

I think for fr_FR we need D/M.
Asked for other FR variants on discuss@fr ML.

Best regards.
JBF

-- 
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Eike Rathke
Hi Sérgio,

On Thursday, 2012-01-12 16:56:16 +, Sérgio Marques wrote:

 for pt_PT You can put D/M and D-M.

Sure about D/M ? pt_PT locale data does not define any date format using
the '/' separator.

 But I do have one question and one
 observation.
 
 Question - Does year gets added automatically?

Yes, the current year is used to complete the date.

 Observation -  If I write 01-01 the result will be 01-01-Year but if I
 write 1-1 the result should also be 01-01-Year.

That only depends on the default medium format for date, which is
DD-MM-AA for pt_PT, so yes, it's 01-01-Year.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Sérgio Marques
2012/1/13 Eike Rathke er...@redhat.com

 Hi Sérgio,

 On Thursday, 2012-01-12 16:56:16 +, Sérgio Marques wrote:

  for pt_PT You can put D/M and D-M.

 Sure about D/M ? pt_PT locale data does not define any date format using
 the '/' separator.


You are correct. This should only be D-M

That only depends on the default medium format for date, which is
 DD-MM-AA for pt_PT, so yes, it's 01-01-Year.


AA means 2 digit year correct?

Default format should be DD-MM-. Can You change it?

Regards
-- 
Sérgio Marques

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Olivier Hallot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

pt-BR uses a lot D/M

Thanks

Olivier

Em 13-01-2012 16:01, Sérgio Marques escreveu:
 2012/1/13 Eike Rathke er...@redhat.com
 
 Hi Sérgio,

 On Thursday, 2012-01-12 16:56:16 +, Sérgio Marques wrote:

 for pt_PT You can put D/M and D-M.

 Sure about D/M ? pt_PT locale data does not define any date format using
 the '/' separator.


 You are correct. This should only be D-M
 
 That only depends on the default medium format for date, which is
 DD-MM-AA for pt_PT, so yes, it's 01-01-Year.


 AA means 2 digit year correct?
 
 Default format should be DD-MM-. Can You change it?
 
 Regards

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPEHZcAAoJEJp3R7nH3vLx7qoIAIrS40gclGEs2Li5vF13kyPa
5ZT1d0dNXT4uy0uP45H1Thfi72hZ0FIzuzoZWByMw9z/9p8uroXc5laCU0dPeTkC
dwvbUM82oBA3IqlgLgqOGjUaHJ9Xc9ucZHxCS4XQhMbImR56Pfzm7wR7vNDdV/iH
o0r4pbsijuiV+3w8K1jy1qTZbt8sKFD6+bwVZCfWyHjTy5t0NPgE/23fOPw77sQp
AX2EqQhidQpndnPv+Y3S4J9g6T6d5zrDbPavcGMAqG5aUXFTvj+LVgR/3j90OcDw
YkupuRTQeXbKo+qXvD/xLkn+U4YZjLorJbNWN7v1EXKFF8IhSe8u+tO8nBSOzMc=
=eF5X
-END PGP SIGNATURE-

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Eike Rathke
Hi Valter,

On Thursday, 2012-01-12 23:59:39 +0100, Valter Mura wrote:

 Sorry
 
 D.M. (D.M.Y)
 
  I'd say also M.D (M.D.Y) for Italian

it-IT doesn't use '.' as date separator.

  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Eike Rathke
Hi Martin,

On Thursday, 2012-01-12 19:04:23 +0100, Martin Srebotnjak wrote:

 for Slovenian please also add M.D. (without year and spaces) and M.
 D. (without year) as well to the acceptance patterns.

In master
http://cgit.freedesktop.org/libreoffice/core/commit/?id=0861854fe7a687d98abb9dacc4b6199954283fa3

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Eike Rathke
Hi Sérgio,

On Friday, 2012-01-13 18:01:47 +, Sérgio Marques wrote:

 You are correct. This should only be D-M

In master
http://cgit.freedesktop.org/libreoffice/core/commit/?id=c5fddb08424c54300b26fc3af19acbbfe84f9fd2

 That only depends on the default medium format for date, which is
  DD-MM-AA for pt_PT, so yes, it's 01-01-Year.
 
 AA means 2 digit year correct?

Yes, pt is one of the languages that have the (unfortunately) legacy
localized format code keys.

 Default format should be DD-MM-. Can You change it?

Done
http://cgit.freedesktop.org/libreoffice/core/commit/?id=12eb7da661635a64272e32204f246d0a5c299ccd

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Eike Rathke
Hi Olivier,

On Friday, 2012-01-13 16:22:20 -0200, Olivier Hallot wrote:

 pt-BR uses a lot D/M

In master
http://cgit.freedesktop.org/libreoffice/core/commit/?id=74fea31257372746caf81148a1be9cff1fe36728

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-13 Thread Eike Rathke
Hi Andrea,

On Thursday, 2012-01-12 23:50:34 +0100, Andrea Pescetti wrote:

 I'd say that Italian (it) uses D/M; e.g., today's date would be
 commonly written as 12/1 in Italian.

In master
http://cgit.freedesktop.org/libreoffice/core/commit/?id=90a94c55077cff0f0077ff46618365970c07223f

Thanks
  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



[libreoffice-l10n] [ANNOUNCE] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-12 Thread Eike Rathke
Hi,

In order to get rid of the annoying accept every input as date that
might resemble some date in almost any locale behavior I recently
implemented locale dependent date acceptance patterns that need to be
matched for date input, for full details see
http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html

If in your locale input of incomplete/abbreviated dates shall be
allowed, this will need a DateAcceptancePattern element be added to
locale data, for example in en-US it's M/D and in de-DE it's D.M.
(both already in).

Just mail me the pattern(s) for your locale, I'll add it then.

Thanks
  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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-12 Thread Sérgio Marques
2012/1/12 Eike Rathke er...@redhat.com


 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need a DateAcceptancePattern element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).

 Just mail me the pattern(s) for your locale, I'll add it then.



Hi Eike,

for pt_PT You can put D/M and D-M. But I do have one question and one
observation.

Question - Does year gets added automatically?

Observation -  If I write 01-01 the result will be 01-01-Year but if I
write 1-1 the result should also be 01-01-Year.

Regards

-
Sérgio Marques

-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-12 Thread Martin Srebotnjak
Eike,

for Slovenian please also add M.D. (without year and spaces) and M.
D. (without year) as well to the acceptance patterns.

Thanks,
m.

2012/1/12 Eike Rathke er...@redhat.com:
 Hi,

 In order to get rid of the annoying accept every input as date that
 might resemble some date in almost any locale behavior I recently
 implemented locale dependent date acceptance patterns that need to be
 matched for date input, for full details see
 http://erack.org/blog/archives/8-LibreOffice-date-acceptance-patterns.html

 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need a DateAcceptancePattern element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.
 (both already in).

 Just mail me the pattern(s) for your locale, I'll add it then.

 Thanks
  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


-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-12 Thread Andrea Pescetti

Eike Rathke wrote:

If in your locale input of incomplete/abbreviated dates shall be
allowed, this will need aDateAcceptancePattern  element be added to
locale data, for example in en-US it's M/D and in de-DE it's D.M.


I'd say that Italian (it) uses D/M; e.g., today's date would be 
commonly written as 12/1 in Italian.


Regards,
  Andrea.

--
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-12 Thread Valter Mura
Andrea
I'd say also M.D (M.D.Y) for Italian

Ciao
--
Valter
*Open Source is better!*
KDE: www.kde.org
Kubuntu: www.kubuntu.org
LibreOffice: www.libreoffice.org
Il giorno 12/gen/2012 22:51, Andrea Pescetti pesce...@openoffice.org ha
scritto:

 Eike Rathke wrote:

 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need aDateAcceptancePattern  element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.


 I'd say that Italian (it) uses D/M; e.g., today's date would be commonly
 written as 12/1 in Italian.

 Regards,
  Andrea.

 --
 Unsubscribe instructions: E-mail to 
 l10n+help@global.libreoffice.**orgl10n%2bh...@global.libreoffice.org
 Problems? http://www.libreoffice.org/**get-help/mailing-lists/how-to-**
 unsubscribe/http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
 Posting guidelines + more: http://wiki.**documentfoundation.org/**
 Netiquette http://wiki.documentfoundation.org/Netiquette
 List archive: 
 http://listarchives.**libreoffice.org/global/l10n/http://listarchives.libreoffice.org/global/l10n/
 All messages sent to this list will be publicly archived and cannot be
 deleted



-- 
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] Locale data date acceptance patterns, localizers HEADS UP please :)

2012-01-12 Thread Valter Mura
Sorry

D.M. (D.M.Y)

--
Valter
*Open Source is better!*
KDE: www.kde.org
Kubuntu: www.kubuntu.org
LibreOffice: www.libreoffice.org
Il giorno 12/gen/2012 22:57, Valter Mura valterm...@gmail.com ha
scritto:

 Andrea
 I'd say also M.D (M.D.Y) for Italian

 Ciao
 --
 Valter
 *Open Source is better!*
 KDE: www.kde.org
 Kubuntu: www.kubuntu.org
 LibreOffice: www.libreoffice.org
 Il giorno 12/gen/2012 22:51, Andrea Pescetti pesce...@openoffice.org
 ha scritto:

 Eike Rathke wrote:

 If in your locale input of incomplete/abbreviated dates shall be
 allowed, this will need aDateAcceptancePattern  element be added to
 locale data, for example in en-US it's M/D and in de-DE it's D.M.


 I'd say that Italian (it) uses D/M; e.g., today's date would be
 commonly written as 12/1 in Italian.

 Regards,
  Andrea.

 --
 Unsubscribe instructions: E-mail to 
 l10n+help@global.libreoffice.**orgl10n%2bh...@global.libreoffice.org
 Problems? http://www.libreoffice.org/**get-help/mailing-lists/how-to-**
 unsubscribe/http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
 Posting guidelines + more: http://wiki.**documentfoundation.org/**
 Netiquette http://wiki.documentfoundation.org/Netiquette
 List archive: 
 http://listarchives.**libreoffice.org/global/l10n/http://listarchives.libreoffice.org/global/l10n/
 All messages sent to this list will be publicly archived and cannot be
 deleted



-- 
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