LaniJ / invoice-dragon

Open source application for creating free invoices and receipts
https://invoicedragon.com/
MIT License
696 stars 53 forks source link

add french translation #5

Closed JeanDavidDaviet closed 6 months ago

JeanDavidDaviet commented 1 year ago

This PR ad basic translation abilities. I've never tried nextjs before, but it seemed using next-translate package. It may be rough around the edges, but at least it gives a baseline to add translation.

The overall structure doesn't change. But the locale URL is prefix to the route. So for french instead of https://invoicedragon.com/templates, you can use https://invoicedragon.com/fr/templates

translating the pdf doesn't work yet though

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
invoice-receipt-generator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2023 7:19am
JeanDavidDaviet commented 1 year ago

This PR helps with the issue #3

LaniJ commented 1 year ago

Thanks for this! I'll be reviewing it soon 😊

kenzivoy commented 1 year ago

looks great!