[kmymoney] [Bug 442572] Chinese l10n problem in check printing

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Sep 17 09:06:09 BST 2021


https://bugs.kde.org/show_bug.cgi?id=442572

--- Comment #1 from wordlessecho at outlook.com ---
https://invent.kde.org/office/kmymoney/-/blob/2257a1e2f9837fa23b3ac4550fb422307cada5a6/kmymoney/plugins/checkprinting/numbertowords.cpp#L14

In Chinese:
- smallNumbers should be 0 to 9.
- Does not have "tens".
- Numbers are grouped by four instead of three in English.
- Any number ending with a zero could be a scaleNumber. Such as 10, 100,
1000…up to hundred million. (more rules after hundred million)

Examples:
Arabic numerals -> Chinese Simplified -> Chinese (when written on cheques) ->
Word-for-word translation
Note: 万 = Wan (ten thousand)
12 -> 十二 -> 拾贰 -> ten two
1212 -> 一千两百一十二 -> 壹仟贰佰壹拾贰 -> one thousand two hundred one ten two
12000 -> 一万二 -> 壹万贰 -> one Wan two
210000 -> 二十一万 -> 贰拾壹万 -> two ten one Wan

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


More information about the KMyMoney-devel mailing list