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-18 Thread Cheng-Chia Tseng
On Wed, Jan 18, 2012 at 12:05 AM, Eike Rathke  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 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 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 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 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 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