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


Hi Martin,

On Sunday, 2011-11-27 20:52:00 +0100, Martin Srebotnjak wrote:

So, what should I do for Slovenian.

If Slovenian uses genitive case month names in dates (I guess it does)
then please obtain the current Slovenian locale data file
http://cgit.freedesktop.org/libreoffice/core/plain/i18npool/source/localedata/data/sl_SI.xml
and add the <GenitiveMonths> (and possibly <PartitiveMonths>) elements
as described below.

When done send the file as attachment back to me, personally as this
list strips attachments.

I am not sure about the usefulness of this, it might come handy. So is
there a way I translate these strings and then try with beta0 with
some switch in the conf file or somewhere and decide what is best?

There will be no switch.

Maybe this overview will help:

* Locale data (submitted by localizer):
  * <MonthsOfYear> element, nominative (nouns) month names
    * always specified
    * includes <Month>, <MonthID>, <DefaultAbbrvName> and
      <DefautFullName> elements
  * <GenitiveMonths> element, genitive case month names
    * optional
    * follows the <MonthsOfYear> element
    * consists of same elements as <MonthsOfYear> element
    * if <GenitiveMonths> are not specified then <MonthsOfYear> names
      are used
  * <PartitiveMonths> element, partitive case month names
    * optional
    * follows the <GenitiveMonths> element, or follows the
      <MonthsOfYear> element if the <GenitiveMonths> element is not
      specified
    * consists of same elements as <MonthsOfYear> element
    * if <PartitiveMonths> are not specified then <GenitiveMonths> names
      are used, if that is not specified then <MonthsOfYear> names are
      used


* Rules for use of nominative / genitive / partitive case month names in
  number formatter when encountering MMM or MMMM:
  * MMM or MMMM immediately preceded or followed by a literal character
    other than space => nominative month name (noun), for Excel and
    backwards compatibility such as Finnish MMMM"ta"
  * no day of month (D or DD) present in format code => nominative name
  * day of month (D or DD) after MMM or MMMM => genitive name
    * no genitive names defined => nominative names
  * day of month (D or DD) before MMM or MMMM => partitive name
    * no partitive names defined => genitive names
      * no genitive names defined => nominative names

* NOTE: if only <MonthsOfYear> and <PartitiveMonths> are specified but
  not <GenitiveMonths>, then for D(D) MMM(M) formats the <MonthsOfYear>
  nominative name is displayed. Only for MMM(M) D(D) formats the
  <PartitiveMonths> name is displayed.



  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.