Bug 413713 - make conversion of currency to text language specific
Summary: make conversion of currency to text language specific
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-01 17:23 UTC by Jack
Modified: 2024-08-17 20:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2019-11-01 17:23:49 UTC
https://phabricator.kde.org/D25029 made some improvements of the conversion of currency amounts to text, but it was pointed out in a comment that the changes are very English centric, and numbers are put in text very differently in other languages.  

It would be good to allow language specific conversion, but I assume this would require first some framework for selecting the language, to make it easier to add additional languages.

In addition, I wonder if this might be something that could be handled by one of the KDE frameworks, so it could be selected as part of the locale.  I suspect that would be an even further future possibility.

I'm not sure if this might be related to bug 255492 (KMyMomney's currency system should be ported to use KDE currency support)
Comment 1 Thomas Baumgart 2020-06-29 18:26:16 UTC
Git commit 16ebdb754e2b32a846aed468f11e47f74afa8778 by Thomas Baumgart, on behalf of Shinjo Park.
Committed on 29/06/2020 at 18:25.
Pushed by tbaumgart into branch 'master'.

Allow scripting of translation of numerals

Not all languages have numerals like English, so current English-centric
numeral rules do not fit everywhere. This allows scriptig of numeral
translations for more flexibility.
Related: bug 420321

M  +8    -0    kmymoney/plugins/checkprinting/numbertowords.cpp

https://invent.kde.org/office/kmymoney/commit/16ebdb754e2b32a846aed468f11e47f74afa8778