https://issues.apache.org/ooo/show_bug.cgi?id=121638

Ariel Constenla-Haile <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |[email protected]
     Ever confirmed|0                           |1

--- Comment #3 from Ariel Constenla-Haile <[email protected]> ---
(In reply to comment #1)
> Estonia switched to Euro on 1st Jan 2011.
> In OO.o 3.4.0 Writer, when choosing a number format for a table cell,
> Estonian currency is presented in kr (Estonian Kroon). This must now be
> replaced by Euro.

That locale setting is defined here: 
http://svn.apache.org/viewvc/openoffice/trunk/main/i18npool/source/localedata/data/et_EE.xml?revision=1413471&view=markup#l333

333     <LC_CURRENCY>
334     <Currency default="true" usedInCompatibleFormatCodes="true">
335     <CurrencyID>EEK</CurrencyID>
336     <CurrencySymbol>kr</CurrencySymbol>
337     <BankSymbol>EEK</BankSymbol>
338     <CurrencyName>kroon</CurrencyName>
339     <DecimalPlaces>2</DecimalPlaces>
340     </Currency>
341     </LC_CURRENCY>


> Current workaround is to select Finnish Euro 

fi-FI is defined here:
http://svn.apache.org/viewvc/openoffice/trunk/main/i18npool/source/localedata/data/fi_FI.xml?revision=1413471&view=markup#l327

AS you see, the proper way is not to replace the old, but to add a new one, set
it as the default, and keep the old as non-default:

327     <LC_CURRENCY>
328     <Currency default="true" usedInCompatibleFormatCodes="false">
329     <CurrencyID>EUR</CurrencyID>
330     <CurrencySymbol>€</CurrencySymbol>
331     <BankSymbol>EUR</BankSymbol>
332     <CurrencyName>euro</CurrencyName>
333     <DecimalPlaces>2</DecimalPlaces>
334     </Currency>
335     <Currency default="false" usedInCompatibleFormatCodes="true">
336     <CurrencyID>FIM</CurrencyID>
337     <CurrencySymbol>mk</CurrencySymbol>
338     <BankSymbol>FIM</BankSymbol>
339     <CurrencyName>Suomen markka</CurrencyName>
340     <DecimalPlaces>2</DecimalPlaces>
341     </Currency>
342     </LC_CURRENCY>

> which follows the same comma, decimal and spacing rules as Estonian Euro.

As far as I know, the locale currency setting only defined the the decimal
places (as you can see in the definition above), the comma is taking from other
locale setting (LC_CTYPE/Separators).


Can you confirm that all the settings in this currency are fine for Estonian?

<CurrencyID>EUR</CurrencyID>
<CurrencySymbol>€</CurrencySymbol>
<BankSymbol>EUR</BankSymbol>
<CurrencyName>euro</CurrencyName>
<DecimalPlaces>2</DecimalPlaces>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to