Astrocoders / node-pdf-invoice

A Phantom free PDF invoice generator built with PDFKit
MIT License
61 stars 29 forks source link

Language is set to pt_BR #1

Open milne-dev opened 6 years ago

EdByrnee commented 6 years ago

How do you change the language?

guilhermedecampo commented 6 years ago

For now fork and update the i18n.js file.

Sent with GitHawk

mkhoussid commented 4 years ago

Only works for pt_BR and en_US for some reason. Doesn't work with others like ru_RU or zh_CH.

guilhermedecampo commented 4 years ago

hey @mkhoussid maybe you could fork and try change this part 🤔

https://github.com/Astrocoders/node-pdf-invoice/blob/develop/lib/index.js#L134

primaryobjects commented 2 years ago

You could use the following fork which has this change. Thanks.

npm install github:primaryobjects/node-pdf-invoice --save