Quantcast

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

classic Classic list List threaded Threaded
74 messages Options
1234
Eike Rathke-2 Eike Rathke-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

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 [hidden email]
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

Sérgio Marques Sérgio Marques
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

2012/1/12 Eike Rathke <[hidden email]>


> 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 [hidden email]
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

Martin Srebotnjak Martin Srebotnjak
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Eike Rathke-2
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 <[hidden email]>:

> 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 [hidden email]
> 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 [hidden email]
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

Andrea Pescetti Andrea Pescetti
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Eike Rathke-2
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."

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 [hidden email]
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

Valter Mura (Google Drive) Valter Mura (Google Drive)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

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" <[hidden email]> ha
scritto:

> 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."
>>
>
> 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 [hidden email].**org<l10n%[hidden email]>
> 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 [hidden email]
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

Valter Mura (Google Drive) Valter Mura (Google Drive)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

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" <[hidden email]> 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" <[hidden email]>
> ha scritto:
>
>> 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."
>>>
>>
>> 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 [hidden email].**org<l10n%[hidden email]>
>> 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 [hidden email]
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

Eike Rathke-2 Eike Rathke-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Sérgio Marques
Hi Sérgio,

On Thursday, 2012-01-12 16:56:16 +0000, 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 [hidden email]
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

Sérgio Marques Sérgio Marques
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

2012/1/13 Eike Rathke <[hidden email]>

> Hi Sérgio,
>
> On Thursday, 2012-01-12 16:56:16 +0000, 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-AAAA. Can You change it?

Regards
--
Sérgio Marques

--
Unsubscribe instructions: E-mail to [hidden email]
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

Olivier Hallot Olivier Hallot
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

-----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 <[hidden email]>
>
>> Hi Sérgio,
>>
>> On Thursday, 2012-01-12 16:56:16 +0000, 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-AAAA. 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 [hidden email]
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

Eike Rathke-2 Eike Rathke-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Valter Mura (Google Drive)
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 [hidden email]
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

Eike Rathke-2 Eike Rathke-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Martin Srebotnjak
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 [hidden email]
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

Eike Rathke-2 Eike Rathke-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Sérgio Marques
Hi Sérgio,

On Friday, 2012-01-13 18:01:47 +0000, 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-AAAA. 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 [hidden email]
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

Eike Rathke-2 Eike Rathke-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Olivier Hallot
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 [hidden email]
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

Eike Rathke-2 Eike Rathke-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Andrea Pescetti
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 [hidden email]
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

Freek de Kruijf Freek de Kruijf
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Eike Rathke-2
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 [hidden email]
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
Michael Bauer Michael Bauer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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


> >  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 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 [hidden email]
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
Modestas Rimkus Modestas Rimkus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Eike Rathke-2
On Jan 12, 2012 3:44 PM, "Eike Rathke" <[hidden email]> 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 YYYY-MM-DD. Thanks.

Modestas

--
Unsubscribe instructions: E-mail to [hidden email]
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
Sérgio Marques Sérgio Marques
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Eike Rathke-2
2012/1/13 Eike Rathke <[hidden email]>


--
Sérgio Marques

--
Unsubscribe instructions: E-mail to [hidden email]
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

Milos Sramek Milos Sramek
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Eike Rathke-2
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>
          <MonthID>feb</MonthID>
          <DefaultAbbrvName>február</DefaultAbbrvName>
          <DefaultFullName>februá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: [hidden email]


--
Unsubscribe instructions: E-mail to [hidden email]
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
Jean-Baptiste_Faure Jean-Baptiste_Faure
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

In reply to this post by Eike Rathke-2
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 [hidden email]
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
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
1234
Loading...