Issue 98489 - Locale data for Oman [ar-OM]
Summary: Locale data for Oman [ar-OM]
Status: CLOSED FIXED
Alias: None
Product: Internationalization
Classification: Code
Component: localedata (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@l10n
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-26 17:36 UTC by zayed2001
Modified: 2013-08-07 15:02 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
ar_OM local data (13.42 KB, text/xml)
2009-01-27 17:23 UTC, zayed2001
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description zayed2001 2009-01-26 17:36:35 UTC
There is no local data for Oman.
Comment 1 ooo 2009-01-27 12:13:30 UTC
Well, yes, maybe you could provide the data :-)

For details please see
http://wiki.services.openoffice.org/wiki/How_to_submit_new_Locale_Data

Thanks
  Eike
Comment 2 zayed2001 2009-01-27 14:20:38 UTC
Here we go :
http://www.it46.se/localegen/locale/1233064040_acx_OM.xml
Comment 3 ooo 2009-01-27 15:01:50 UTC
Thanks. A comment: the number formats for currency use a parenthesized form for
negative amounts ([CURRENCY]#,##0.00) that usually is only correct for locales
based on an en-US locale, which probably is an oversight here. Please check and
correct if appropriate.
Comment 4 zayed2001 2009-01-27 17:22:13 UTC
Another try :

http://www.it46.se/localegen/locale/1233076272_acx_OM.xml
Comment 5 zayed2001 2009-01-27 17:23:34 UTC
Created attachment 59712 [details]
ar_OM local data
Comment 6 erack 2009-03-23 20:11:02 UTC
Thank you for your contribution.
Please note that to integrate code or data contributed we need a signed
Contributor Agreement form (SCA) filled-out. If you do not plan further
contributions to the OOo code base that would need a signed SCA (see
http://wiki.services.openoffice.org/wiki/Sun_Contributor_Agreement ) you
may as well make use of the joint copyright agreement as lined out in
http://www.it46.se/localegen/copyright.php

@it46: For this I formally ask Alberto Escudero-Pascual to contribute
the attached locale data file to the OOo code base under the JCA/SCA he
signed.

Thanks
  Eike
Comment 7 erack 2009-06-21 20:06:16 UTC
In cws locales32:

revision 273185
i18npool/source/localedata/data/ar_OM.xml
i18npool/source/localedata/data/localedata_others.map
i18npool/source/localedata/data/makefile.mk
i18npool/source/localedata/localedata.cxx

Note that I changed ISO 639 acx-OM to ar-OM generic macrolanguage Arabic code,
because so far OOo doesn't make a distinction there.

When test compiling the data I got:

Warning: QuotationStart and QuotationEnd are both ASCII characters. Not
necessarily an error, but unusual.
Warning: DoubleQuotationStart and DoubleQuotationEnd are both ASCII characters.
Not necessarily an error, but unusual.
Warning: QuotationStart equals QuotationEnd. Not necessarily an error, but unusual.
Warning: DoubleQuotationStart equals DoubleQuotationEnd. Not necessarily an
error, but unusual.
Error: CurrencyID is not ISO 4217
Error: BankSymbol is not ISO 4217

I fixed CurrencyID and BankSymbol to ISO 4217 code 'OMR'.

But what about the ASCII quotation characters? Usually these are some
typographic quotation characters instead.

Btw, noticed that all other ar_* locales use different separators:
      <ThousandSeparator>٬</ThousandSeparator>
      <DecimalSeparator>٫</DecimalSeparator>
whereas ar_OM uses
      <ThousandSeparator>,</ThousandSeparator>
      <DecimalSeparator>.</DecimalSeparator>

On purpose?

Changed ListSeparator to ';' semicolon instead of ',' comma, for consistency. It
is currently not used though.
Comment 8 ooo 2009-09-04 18:00:33 UTC
Reassigning to QA for verification.
Comment 9 stefan.baltzer 2009-09-11 14:34:10 UTC
Verified in CWS locales32.
Comment 10 stefan.baltzer 2009-12-10 17:06:56 UTC
OK in OOO320_m7. Closed.