Scripting translation of numerals in check printing plugin

Shinjo Park kde at peremen.name
Mon May 25 16:02:50 BST 2020


Hi,

While I was trying to solve the CJK numerals problem in check printing plugin, 
I realized that it is possible to script the translation of numerals. By using 
Transcript [0] it is possible to dynamically modify translations using 
JavaScript, and I think if the numeral system is different from English, 
instead of coding every cases allowing translators to implement it would be a 
good idea. This also addresses Bug 413713 [1].

[0] https://techbase.kde.org/Localization/Concepts/Transcript
[1] https://bugs.kde.org/show_bug.cgi?id=413713

I made a WIP merge request [2] for the implementation. I am open for any 
comments and suggestions.

[2] https://invent.kde.org/office/kmymoney/-/merge_requests/9

Best,
Shinjo




More information about the KMyMoney-devel mailing list