AlexanderLill / PP-Crypto-Parser

Parser for parsing ledger data from Kraken for Portfolio Performance
https://www.portfolio-performance.info/
9 stars 1 forks source link

English translation #2

Closed dakkusingh closed 5 months ago

dakkusingh commented 6 months ago

Hi, Firstly thanks for creating this parser. Is it possible to make the exported files work for english language??

AlexanderLill commented 6 months ago

Dear @dakkusingh, thanks for your comment! I can try to add a parameter to the script to switch between english and german. I am not sure when I will get to it, but you could help me by providing me the names of the columns you would need. You can get them, for example by exporting your current data to CSV, and sending me the first line of that file, so I know which words to use for the english version :)

Petemir commented 6 months ago

German:

DEPOT_CSV_HEADER = "Datum,Uhrzeit,Typ,Wertpapier,Stück,Kurs,Betrag,Gebühren,Steuern,Gesamtpreis,Konto,Gegenkonto,Notiz,Quelle"

ACCOUNT_CSV_HEADER = "Datum,Uhrzeit,Typ,Betrag,Saldo,Wertpapier,Stück,pro Aktie,Gegenkonto,Notiz,Quelle"

English:

DEPOT_CSV_HEADER = "Date,Time,Type,Security Name,Shares,Exchange Rate,Gross Amount,Fees,Taxes,Value,Securities Account,Offset Account,Note,Quelle"

ACCOUNT_CSV_HEADER = "Date,Time,Type,Value,Saldo,Security Name,Shares,pro Aktie,Offset Account,Note,Quelle"

I couldn't translate Saldo, pro Aktie, Quelle, as I don't know to what PP columns they match (they weren't shown in the examples).

Columns can be found here (EN) and here (DE), at CSVColumn_... .

Transaction types are here (EN) and here (DE), at the top.

AlexanderLill commented 6 months ago

Hey @dakkusingh, you can now use the parameter -l en to export English CSVs :)