Numbertext / libnumbertext

Number to number name and money text conversion libraries in C++, Java, JavaScript and Python & LibreOffice Calc Extension
BSD 3-Clause "New" or "Revised" License
68 stars 47 forks source link

Add Persian labguage and Rial currency #100

Closed neesti closed 1 year ago

neesti commented 2 years ago

Hello.

Please support Persian (Farsi) language and Rial currency in next version of this Add-on.

Thank you so much.

neesti commented 2 years ago

Hello.

Would you please review this pull request:

https://github.com/Numbertext/libnumbertext/pull/101

Thank you.

laszlonemeth commented 2 years ago

Hello, Neesti,

Thanks for your request! I'll check the module soon, and report the result!

Best regards, László

laszlonemeth commented 2 years ago

@amiria703's nice patch has already merged, and it will be released soon.

Thanks for your request again!

Best regards, László

P.S. FYI, Copying the module fa.sor in numbertext folder of the LibreOffice installation, it's possible to use it by the following user-defined number format:

[NatNum12 cardinal]0

or

[NatNum12 IRR]0

But my plan to add NumberText menu items to the number format dialog window.

laszlonemeth commented 1 year ago

Hi,

The problem was fixed by @amiria703, integrated with the new v1.0.11 release, integrated with LibreOffice, too.

The result will be visible in LibreOffice 7.5, according to the new number and currency formats of the Calc Cell and Writer Field formatting dialog windows:

https://wiki.documentfoundation.org/ReleaseNotes/7.5#Default_.E2.80.9Cspell_out.E2.80.9D_number_and_currency_formats

I have added only the cardinal number, because I will ask help on l10n mailing list of LibreOffice to check RTL and CTL language support in Calc/Writer.

Many thanks for your bug report!

Best regards, László