ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.34k stars 117 forks source link

Support change the highest level account name #106

Closed teteko233 closed 8 months ago

teteko233 commented 8 months ago

I am a hledger user and the Income account in hledger called revenues. I want to use revenues rather than Income. So could Paisa can add a config so that I can match my current account name to the Paisa style account name?

In addition, I am Chinese. So I wish the top level account name in Paisa can support UTF-8 char or CJK char.

ananthakumaran commented 8 months ago

Each account has some behaviours and it's solely based on the account name as of today, I have plans to make these behaviours configurable. But this also requires a lot of work since nearly all the places implicitly assume the behaviour based on the account name. I need to figure out a way to make the changes gradually. Given the amount of work required, this is not an immediate priority.

teteko233 commented 8 months ago

Thanks for your respond! I am going to using some directives like capture in ledger or alias in hledger to replace some account name with the paisa style account name.

But It doesn't work. I am confused image

ananthakumaran commented 8 months ago

What doesn't work?

teteko233 commented 8 months ago

capture directive from ledger manual The manual said: Ledger will display the mapped payee in print and register reports. maybe capture directive only works inprint and register reports.

When I use alias directive, It works in balance report and dashboard image

ananthakumaran commented 8 months ago

Got it. Paisa uses balance command in the editor page only and csv command to export the data, which is used on all the other pages. If csv command returns Income, then every other place would work.

teteko233 commented 8 months ago

So the temporary solution about issue is using alias directive.

for hledger user, use alias Revenues = Income

for other language user, use statement like alias Vermögen = Assets(German), alias 资产 = Assets(Chinese) and so on.

I will close the issue and wish that paisa UI can be translated to other languages in the feature.