Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support change the highest level account name #106

Closed
teteko233 opened this issue Dec 7, 2023 · 6 comments
Closed

Support change the highest level account name #106

teteko233 opened this issue Dec 7, 2023 · 6 comments

Comments

@teteko233
Copy link

teteko233 commented Dec 7, 2023

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
Copy link
Owner

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
Copy link
Author

teteko233 commented Dec 7, 2023

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
Copy link
Owner

What doesn't work?

@teteko233
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

teteko233 commented Dec 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants