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


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

<DateAcceptancePattern>D.</DateAcceptancePattern>
<DateAcceptancePattern>D.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 YYYY-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.YYYY 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>
          <MonthID>feb</MonthID>
          <DefaultAbbrvName>február</DefaultAbbrvName>
          <DefaultFullName>februá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+help@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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.