-
Notifications
You must be signed in to change notification settings - Fork 118
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
How to change DIČ and IČ to VAT and TIN? #40
Comments
I ran into the same problem. A quick look at the source code reveals that the right way to achieve this is to create a pull request to locale directory and add The code is ugly and I prefer to use ReportLab directly though. |
Papersize is locked in this line of code, which is much worse. We are locked into US letter size paper if we use this library. No simple or easy way to work around this. |
@mihalt There's something wrong with the translation files causing this. All the strings in the source code are in English, but this particular line, for some reason, is getting translated into Czech:
If I delete the translation files, the line is correctly not translated and is returned as "Vat in: %s". So if you don't need localization, you can just delete those babel files in the locale directory. (Mostly posting this in case someone tries to use this library in 2023+ as I did and has the same question) |
Hi! How to change DIČ and IČ to VAT and TIN? The os.environ["INVOICE_LANG"] = "en" doesn't help.
The text was updated successfully, but these errors were encountered: