Apache OpenOffice (AOO) Bugzilla – Issue 76347
Add locale data for Arabic (Morocco) - ar_MA
Last modified: 2017-05-20 11:13:33 UTC
Add locale data file for Arabic as spoken in Morocco
Created attachment 44411 [details] Arabic (Morocoo) locale file
Hi Dwayne, What's wrong with that tool? Again all format codes above #17 are missing. I also get: Error: DateSeparator equals TimeSeparator. Warning: DecimalSeparator is different from Time100SecSeparator, this may be correct or not. Warning: Don't forget to adapt FormatCode elements when changing separators. Additionally, negative currency amounts are enclosed in parentheses, this is usually not the case except in countries "influenced" by the USA ... Eike
Hi Eike, Not sure what's wrong with the tool. But Sango was also done on LocaleGen and it came out OK :( I'll follow up on the data and time issues. Re the negative, Morrocco would be influenced by French rather then USA currency handling. But I'll ask that also :) Dwayne
Created attachment 44856 [details] Arabic (Morocoo) locale file for missing number formats
Hi Eike & other contributors, In the last update I used indenting and also corrected <UnicodeScript> to 11 as in ar_EG. Some issues I noted: * IndexKey - ar_EG seems to have a much more elaborate one perhaps we should inherit that * Dates - ar_EG includes more then just the gregorian * LC_OutLineNumberingLevel - ar_EG has quite an elaborate system This needs review/decision to see if we should rather use those.
oops.. when test compiling I got the following errors and warnings: Error: DateSeparator equals TimeSeparator. Warning: Time100SecSeparator is different from DecimalSeparator, this may be correct or not. Intended? Warning: Don't forget to adapt corresponding FormatCode elements when changing separators. Warning: DoubleQuotationStart is an ASCII character but DoubleQuotationEnd is not. Warning: QuotationStart equals QuotationEnd. Not necessarily an error, but unusual. Warning: FormatCode formatindex="12" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="13" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="14" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="15" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Warning: FormatCode formatindex="17" for currency uses parentheses for negative amounts, which probably is not correct for locales not based on en_US. Error: TimeSeparator not present in FormatCode formatindex="44". Error: Time100SecSeparator not present in FormatCode formatindex="44". Error: Time100SecSeparator+00 not present in FormatCode formatindex="44". Error: Ordering of Time100SecSeparator and TimeSeparator not correct in formatindex="44". Warning: formatindex="4","44","45" are the only FormatCode elements checked for separator usage, there may be others that have errors. Error: TimeSeparator not present in FormatCode formatindex="45". Error: Time100SecSeparator not present in FormatCode formatindex="45". Error: Time100SecSeparator+00 not present in FormatCode formatindex="45". Error: Ordering of Time100SecSeparator and TimeSeparator not correct in formatindex="45". Warning: formatindex="4","44","45" are the only FormatCode elements checked for separator usage, there may be others that have errors. Can someone please clarify on these? Thanks Eike
I've put out a call to the contributor but haven't heard anything, I'm unable to correct the issues. Will copy the issues onto the mailing lists and see if any other Arabic speakers can assist
Any update on the correct separators to be used and the number format codes?
Afraid no feedback :(
Afraid no feedback :( Have asked some friends at Arabise if they can help
Retargeting to "OOo PleaseHelp".
Again, for clarification, we need decisions on the following topics. For details on format codes please see the documentation available at http://www.it46.se/localegen/docs/Creating_locale_OOo_LocaleGEN_v2.1.php and some technical details commented in http://svn.services.openoffice.org/ooo/trunk/i18npool/source/localedata/data/locale.dtd If there are remaining questions please ask. 1. Ususally the Time100SecSeparator used to separate 100th seconds from seconds in time formats is identical to the DecimalSeparator. In the attached locale data this is not the case, instead it is identical to the ListSeparator and identical to all LongDate* separators. 2. The DateSeparator 'و' defined is not used in date formats, the date formats use the slash '/' instead. 3. The TimeSeparator 'و' defined equals DateSeparator (it must differ) and is not used in time formats, the time formats use the colon ':' instead. 4. All LongDate* separators are questionably defined to be identical '،', but are also not used anywhere in date formats, which mostly use comma ',' instead. 5. The currency formats defined use a negative format with parentheses that most probably is wrong, instead of a minus sign. Instead it should be something similar to -[CURRENCY]# ##0,00 or [CURRENCY]-# ##0,00 and maybe with blanks between minus sign and/or currency symbol and/or amount. 6. The QuotationStart uses double quotation characters instead of single quotation characters. Whic would be the proper single quote characters to use? 7. The DoubleQuotationStart seems to be ill-defined to an ASCII double quote character. 8. For both, QuotationStart/QuotationEnd and DoubleQuotationStart/DoubleQuotationEnd it should be checked whether Start and End should be really identical, or if different Start and End characters are used instead.
Reset assigne to the default "issues@openoffice.apache.org".