kimjh5182 / i18next_react-pdf

Created with CodeSandbox

Home Page:https://codesandbox.io/s/github/kimjh5182/i18next_react-pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-pdf-i18n-next-example

This is a Next.js app illustrating how to use use-intl to render i18n-ready PDFs with https://react-pdf.org/.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open the API http://localhost:3000/api/pdf?locale=de with your browser to see the translated PDF. It also works with ?locale=en.

Or open the page and use the language selector: http://localhost:3000.

You can start editing the PDF by modifying pages/api/pdf.tsx.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Deploy with Vercel

License

MIT

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Stefan Natter

🤔 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

Created with CodeSandbox

https://codesandbox.io/s/github/kimjh5182/i18next_react-pdf

License:MIT License