node-pdf-invoice icon indicating copy to clipboard operation
node-pdf-invoice copied to clipboard

Language is set to pt_BR

Open milne-dev opened this issue 7 years ago • 5 comments

milne-dev avatar Oct 10 '17 17:10 milne-dev

How do you change the language?

EdByrnee avatar Aug 05 '18 13:08 EdByrnee

For now fork and update the i18n.js file.

Sent with GitHawk

guilhermedecampo avatar Aug 06 '18 11:08 guilhermedecampo

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

mkhoussid avatar Mar 12 '20 15:03 mkhoussid

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

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

guilhermedecampo avatar Mar 13 '20 01:03 guilhermedecampo

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

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

primaryobjects avatar Feb 25 '22 11:02 primaryobjects