Localization Issue with NumberWords 1.6.1

Company is in country : INDIA
Language is en_US

Once the Number Words Module 1.6.1 is activated it shows

Amount 989.99 en_US nine hundred eighty-nine Indian Rupeess ninety-nine cents

When it actually should be
Amount 989.99 en_US nine hundred eighty-nine Indian Rupees ninety-nine paise

which file should i edit to fix it.

Which currencies did you set in home - setup - company ?

This is what I have used

Main currency Indian Rupee (INR)

Currently we are saving all the Currency info into
llx_c_currencies
having the fields
code code_iso label labelsing active

It would be great if there was a related details table with fields that save the following data
INR USD
Currency Singular: Rupee Dollar
Currency Plural: Rupees Dollars
Currency Symbol: Rs. $
SubUnit1 Value: 1/100 1/10
SubUnit1 Singular: Paisa Dime
SubUnit1 Singular: Paise Dime
SubUnit1 Symbol:
SubUnit1 Value: 1/100
SubUnit2 Singular: Paisa Cent
SubUnit2 Plural: Paise Cents
SubUnit2 Symbol: ¢

This is just my suggestion. I guess this would help handle various currencies. I believe that there must be better ways to handle the data.

hi - was there a fix to this issue; I am facing the same prolem.

I installed the numberwords. I use Turkish ‘TRY’. It gives the following error:
Error: No rule file into Numbers/Words to convert number to text for language tr_TR)

I’m afraid the numberwords module does not support turkish.

But there is a turkish file in the words directory.

Hello tanayhan,

I edited the php for odt file generation in order to create invoices with turkish numberwords. If you want I can send you the edited php to be used with any odt file.

I would like to, you can send it to akiziltan76@hotmail.com.
Thanks

Hi Denizar, still waiting for you to send the NumberWords file.
Thanks

Can you tell where you add turkish language in which file? I need to know because I try to set this module to work with Latvian language.

I’d like to know if there is a fix to the indian rupee paise in number words

Hi, we had the same issue and the work around we use is to edit the functions_numberwords.lib.php file under /numberwords/core/substitutions

On line 99 we change the word “cent” for “centavo”
$handle->labelcents=‘centavo’; // By default (s is removed)

Regards.