Skip to content

Better translation of numerals

Shinjo Park requested to merge pshinjo/kmymoney:better-numerals into master

These commits try to add more flexibility on translation of numerals.

  • Commit pshinjo/kmymoney:better-numerals@759025a3 changes some English word puzzles into proper placeholders. If the order of ones and tens are reversed (for example German and Danish), it is now possible to modify the combination order.
  • Commit pshinjo/kmymoney:better-numerals@ca8fe7c7 allows translation of numerals to be totally scriptable.

While my original idea of solving Bug 420321 was implementing Chinese numerals support in the said source code, but I realized that allowing scripting will be much more better than implementing the individual numeral system. Thanks to Transcript individual translators can program it using Javascript. An example of Javascript application for Korean numerals are attached here. Unfortunately, neither KLocalizedString nor QLocale provides interface for this.

I am open for comments, thus the title WIP.

kmymoney.js

Edited by Shinjo Park

Merge request reports