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

Shinjo Park kde at peremen.name
Sun Oct 3 23:18:07 BST 2021


Hi,

Anyone from Chinese (Simple/Traditional) and Japanese team from this list? 
Since we share Chinese numerals, I think what I've wrote for 1000-based 
numeral separation will help resolving this bug. While the script itself is 
using Hangul, replacing them with Hanzi/Kanji will be enough for Chinese/
Japanese.

https://websvn.kde.org/trunk/l10n-kf5/ko/scripts/kmymoney/kmymoney.js?
view=markup

Ping me off-list if any questions.

Shinjo

----------  전달된 메시지  ----------

제목: [kmymoney] [Bug 442572] Chinese l10n problem in check printing
날짜: 2021년 9월 17일 금요일, 오후 12시 10분 43초 CEST
보낸 사람: Shinjo Park via KMyMoney-devel <kmymoney-devel at kde.org>
받는 사람: kmymoney-devel at kde.org
참조: Shinjo Park <bugzilla_noreply at kde.org>

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

Shinjo Park <kde at peremen.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at peremen.name

--- Comment #2 from Shinjo Park <kde at peremen.name> ---
We had a similar problem in Korean too, so that's why this exist:
https://invent.kde.org/office/kmymoney/-/blob/
2257a1e2f9837fa23b3ac4550fb422307cada5a6/kmymoney/plugins/checkprinting/
numbertowords.cpp#L79
Instead of coding numerals for every language, it is possible to write a
Javascript logic for translating them. The JS function should take numbers as
input and should produce a proper translation.

See also: https://techbase.kde.org/Localization/Concepts/Transcript and bug
420321

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

-----------------------------------------




More information about the kde-i18n-doc mailing list