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

Reply via email to